public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39013]  New: Compiler miss to add @PLT to symbols when object is compile with -fPIE -pie
@ 2009-01-28 22:11 zorry at ume dot nu
  2009-01-28 22:17 ` [Bug target/39013] " zorry at ume dot nu
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: zorry at ume dot nu @ 2009-01-28 22:11 UTC (permalink / raw)
  To: gcc-bugs

http://bugs.gentoo.org/show_bug.cgi?id=254355
We are using patched gcc but it fail on gentoo's default compiler's to.
It works fine with GCC 4.2.4 and lower.
The fail file is part of libnet
the symbol that miss the @PLT is libnet_getgre_length
it sould have @PLT as the rest of the symbols
If i compile the fail file with -pic instead i compiles fine.
and have @PLT added 
gcc version 4.3.3
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.3.3-r1/work/gcc-4.3.3/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--enable-cld --disable-libgcj --enable-languages=c,c++,treelang --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu 
Thread model: posix
glibc-2.8_p20080602-r1
Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz
binutils:  2.18  it add relro as default
The file is compile with CFLAGS -fPIE and LDFLAGS -pie -z now


-- 
           Summary: Compiler miss to add @PLT to symbols when object is
                    compile with -fPIE -pie
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zorry at ume dot nu
 GCC build triplet: x_86_64
  GCC host triplet: x86_64
GCC target triplet: x86_86


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39013


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2009-06-19 12:24 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 22:11 [Bug c/39013] New: Compiler miss to add @PLT to symbols when object is compile with -fPIE -pie zorry at ume dot nu
2009-01-28 22:17 ` [Bug target/39013] " zorry at ume dot nu
2009-01-29  0:47 ` [Bug target/39013] [4.3/4.4 regression] @PLT is missing on failed inline function when -fpie is used hjl dot tools at gmail dot com
2009-01-29  0:48 ` hjl dot tools at gmail dot com
2009-01-29  0:50 ` pinskia at gcc dot gnu dot org
2009-01-29  0:52 ` pinskia at gcc dot gnu dot org
2009-01-29  0:58 ` pinskia at gcc dot gnu dot org
2009-01-29  1:13 ` hjl dot tools at gmail dot com
2009-01-29  1:46 ` hjl dot tools at gmail dot com
2009-01-29  4:04 ` [Bug target/39013] [4.3/4.4 regression] Missing @PLT " hjl dot tools at gmail dot com
2009-01-29  9:56 ` [Bug c/39013] " rguenth at gcc dot gnu dot org
2009-01-29  9:56 ` rguenth at gcc dot gnu dot org
2009-01-29 15:03 ` [Bug target/39013] " zorry at ume dot nu
2009-01-29 15:20 ` [Bug target/39013] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2009-01-29 15:52 ` hjl dot tools at gmail dot com
2009-01-29 15:53 ` hjl dot tools at gmail dot com
2009-01-29 18:24 ` zorry at ume dot nu
2009-01-30 17:32 ` jakub at gcc dot gnu dot org
2009-01-30 20:32 ` jakub at gcc dot gnu dot org
2009-01-30 20:47 ` jakub at gcc dot gnu dot org
2009-01-30 20:50 ` [Bug target/39013] [4.3 " jakub at gcc dot gnu dot org
2009-01-30 22:59 ` zorry at ume dot nu
2009-02-21 13:15 ` rguenth at gcc dot gnu dot org
2009-03-31  2:38 ` zorry at ume dot nu
2009-06-18 14:50 ` rguenth at gcc dot gnu dot org
2009-06-19 12:23 ` rguenth at gcc dot gnu dot org
2009-06-19 12:24 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).