This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3989] New: Compilation fails - multiple definition of functions


Compilation fails with following:

gcc   -nostdlib -nostartfiles -r -o /usr/src/glibc-build/libc_pic.os \
         -Wl,-d -Wl,--whole-archive /usr/src/glibc-build/libc_pic.a
/usr/src/glibc-build/libc_pic.a(idn-stub.os): In function `__idna_to_ascii_lz':
idn-stub.c:(.text+0x0): multiple definition of `__idna_to_ascii_lz'
/usr/src/glibc-build/libc_pic.a(idn-stub.os):idn-stub.c:(.text+0x0): first
defined here
/usr/src/glibc-build/libc_pic.a(idn-stub.os): In function `__idna_to_unicode_lzlz':
idn-stub.c:(.text+0x140): multiple definition of `__idna_to_unicode_lzlz'
/usr/src/glibc-build/libc_pic.a(idn-stub.os):idn-stub.c:(.text+0x140): first
defined here
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/glibc-build/libc_pic.os] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.4'
make: *** [all] Error 2

GCC 4.1.1 (attempted also with gcc 4.1.0)
CFLAGS = -march=athlon64 -mcpu=athlon64 -mmmx -msse -msse2 -m3dnow
-mfpmath=sse,387 -O3 -fno-inline-functions
Linux 2.6.19.2

-- 
           Summary: Compilation fails - multiple definition of functions
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: thunderwolf66102 at yahoo dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3989

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]