public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zorry at ume dot nu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/39013] New: Compiler miss to add @PLT to symbols when object is compile with -fPIE -pie Date: Wed, 28 Jan 2009 22:11:00 -0000 [thread overview] Message-ID: <bug-39013-17238@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2009-01-28 22:11 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-28 22:11 zorry at ume dot nu [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-39013-17238@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).