From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15411 invoked by alias); 10 Feb 2012 00:16:50 -0000 Received: (qmail 15394 invoked by uid 22791); 10 Feb 2012 00:16:49 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SARE_SUB_6CONS_WORD,SUBJ_OBFU_PUNCT_FEW,TW_LG X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Feb 2012 00:16:36 +0000 From: "burek021 at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13679] New: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality Date: Fri, 10 Feb 2012 00:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burek021 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00052.txt.bz2 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.