public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality @ 2012-02-10 0:16 burek021 at gmail dot com 2012-02-11 2:55 ` [Bug libc/13679] " ppluzhnikov at google dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: burek021 at gmail dot com @ 2012-02-10 0:16 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13679 Bug #: 13679 Summary: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality Product: glibc Version: 2.15 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper.fsp@gmail.com ReportedBy: burek021@gmail.com Classification: Unclassified Hi, I used the latest git for the source code for glibc (2.15.90) and I used this configure line: ~/glibc-build # ../glibc/configure --enable-static --disable-shared --prefix=/usr/local/glibc-static (it complained about not recognizing ld, because I'm on debian and using binutils-gold, so I downloaded/compiled gnu binutils and solved that error) after a successful configure, I ran 'make' and it compiled a lot of stuff and finally gave me this error: ... gcc -nostdlib -nostartfiles -o /root/git/glibc-build/iconv/iconvconfig -Wl,-z,relro -Wl,--hash-style=both /root/git/glibc-build/csu/crt1.o /root/git/glibc-build/csu/crti.o `gcc --print-file-name=crtbegin.o` /root/git/glibc-build/iconv/iconvconfig.o /root/git/glibc-build/iconv/strtab.o /root/git/glibc-build/iconv/xmalloc.o /root/git/glibc-build/iconv/hash-string.o /root/git/glibc-build/libc.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed /root/git/glibc-build/libc.a -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed `gcc --print-file-name=crtend.o` /root/git/glibc-build/csu/crtn.o /usr/local/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/root/git/glibc-build/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie collect2: ld returned 1 exit status make[2]: *** [/root/git/glibc-build/iconv/iconvconfig] Error 1 make[2]: Leaving directory `/root/git/glibc/iconv' make[1]: *** [iconv/others] Error 2 make[1]: Leaving directory `/root/git/glibc' make: *** [all] Error 2 glibc-build # I'm not sure is it a bug or I'm doing something wrong here. I need to build the static glibc so that I could build static ffmpeg with it, that's my goal. Anyway, if this is not a bug, I really apologize. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/13679] dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com @ 2012-02-11 2:55 ` ppluzhnikov at google dot com 2012-02-13 0:50 ` burek021 at gmail dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: ppluzhnikov at google dot com @ 2012-02-11 2:55 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13679 Paul Pluzhnikov <ppluzhnikov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot | |com --- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> 2012-02-11 02:55:10 UTC --- FWIW, 1. Glibc developers consider fully-static linking a "step child", and your bug will likely be ignored ... 2. For your stated goal of "static ffmpeg", you don't need to build a --disable-shared glibc. The regular build already supplies libc.a. Just do "gcc -static ... -o ffmpeg" and be done with it. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/13679] dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com 2012-02-11 2:55 ` [Bug libc/13679] " ppluzhnikov at google dot com @ 2012-02-13 0:50 ` burek021 at gmail dot com 2012-09-04 23:40 ` [Bug libc/13679] --disable-shared no longer works hjl.tools at gmail dot com ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: burek021 at gmail dot com @ 2012-02-13 0:50 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13679 --- Comment #2 from burek021 at gmail dot com 2012-02-13 00:49:56 UTC --- Thanks a lot :) I'll try that :) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/13679] --disable-shared no longer works 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com 2012-02-11 2:55 ` [Bug libc/13679] " ppluzhnikov at google dot com 2012-02-13 0:50 ` burek021 at gmail dot com @ 2012-09-04 23:40 ` hjl.tools at gmail dot com 2012-09-25 0:33 ` hjl.tools at gmail dot com 2014-06-27 7:26 ` fweimer at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: hjl.tools at gmail dot com @ 2012-09-04 23:40 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13679 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com Version|2.15 |2.17 Summary|dynamic STT_GNU_IFUNC |--disable-shared no longer |symbol `strcmp' with |works |pointer equality | --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-04 23:39:54 UTC --- --disable-shared may be useful for porting purpose. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/13679] --disable-shared no longer works 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com ` (2 preceding siblings ...) 2012-09-04 23:40 ` [Bug libc/13679] --disable-shared no longer works hjl.tools at gmail dot com @ 2012-09-25 0:33 ` hjl.tools at gmail dot com 2014-06-27 7:26 ` fweimer at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: hjl.tools at gmail dot com @ 2012-09-25 0:33 UTC (permalink / raw) To: glibc-bugs http://sourceware.org/bugzilla/show_bug.cgi?id=13679 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |2.17 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-25 00:32:40 UTC --- Fixed on 2.17: http://sourceware.org/git/?p=glibc.git;a=commit;h=94b32c39127967ea58adac3d737a1e5d6116fb77 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libc/13679] --disable-shared no longer works 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com ` (3 preceding siblings ...) 2012-09-25 0:33 ` hjl.tools at gmail dot com @ 2014-06-27 7:26 ` fweimer at redhat dot com 4 siblings, 0 replies; 6+ messages in thread From: fweimer at redhat dot com @ 2014-06-27 7:26 UTC (permalink / raw) To: glibc-bugs https://sourceware.org/bugzilla/show_bug.cgi?id=13679 Florian Weimer <fweimer at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-27 7:26 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-02-10 0:16 [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality burek021 at gmail dot com 2012-02-11 2:55 ` [Bug libc/13679] " ppluzhnikov at google dot com 2012-02-13 0:50 ` burek021 at gmail dot com 2012-09-04 23:40 ` [Bug libc/13679] --disable-shared no longer works hjl.tools at gmail dot com 2012-09-25 0:33 ` hjl.tools at gmail dot com 2014-06-27 7:26 ` fweimer at redhat dot com
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).