[SAMBA3:PATCH] always use -fPIC
Stefan (metze) Metzmacher
metze at samba.org
Tue Oct 3 17:02:57 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stefan (metze) Metzmacher schrieb:
> Hi,
>
> here's a new patch that applies to the latest svn
>
> metze
On Linux -fPIE (what we currently use in samba3) generated the same code
as -fPIC...
metze at SERNOX:~/> gcc -S -o sock_pie.S sock.c
metze at SERNOX:~/> gcc -S -o sock.S sock.c
metze at SERNOX:~/> gcc -fPIE -S -o sock_pie.S sock.c
metze at SERNOX:~/> gcc -fPIC -S -o sock_pic.S sock.c
metze at SERNOX:~/> cmp sock.S sock_pie.S
sock.S sock_pie.S differieren: Byte 338, Zeile 23.
metze at SERNOX:~/> cmp sock_pie.S sock_pic.S
metze at SERNOX:~/>
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFFIpfBm70gjA5TCD8RAr4aAJ9X7HcF+hlF+GcBjC7uzrawez8jPwCdHnv3
7mP3gq+YTOj035xixLgTbOM=
=QrDv
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list