[LLVMbugs] [Bug 5346] New: glibc-2.10.1 fails to compile under llvm-gcc-2.6: unsupported inline asm

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 29 09:56:05 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=5346

           Summary: glibc-2.10.1 fails to compile under llvm-gcc-2.6:
                    unsupported inline asm
           Product: new-bugs
           Version: 2.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: eric225125 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3720)
 --> (http://llvm.org/bugs/attachment.cgi?id=3720)
libc-tls.c

I get the following error when trying to compile glibc on my x86_64 no-multilib
system:

/usr/bin/llvm-gcc ../sysdeps/x86_64/hp-timing.c -c -std=gnu99 -fgnu89-inline
-O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing
-pipe -Wstrict-prototypes   -g0 -O99 -fomit-frame-pointer
-D__USE_STRING_INLINES    -I../include
-I/var/tmp/paludis/sys-libs-glibc-2.10.1/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu
-I/var/tmp/paludis/sys-libs-glibc-2.10.1/work/build-amd64-x86_64-pc-linux-gnu-nptl
-I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64
-I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64
-I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64
-I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I..
-I../libio -I. -nostdinc -isystem
/usr/lib64/llvm-gcc-4.2-2.6/lib64/gcc/x86_64-pc-linux-gnu/4.2.1/include
-isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h     
 -U_FORTIFY_SOURCE -U_FORTIFY_SOURCE -DHAVE_INITFINI -o
/var/tmp/paludis/sys-libs-glibc-2.10.1/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/hp-timing.o
-MD -MP -MF
/var/tmp/paludis/sys-libs-glibc-2.10.1/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/hp-timing.o.dt
-MT
/var/tmp/paludis/sys-libs-glibc-2.10.1/work/build-amd64-x86_64-pc-linux-gnu-nptl/csu/hp-timing.o 
libc-tls.c: In function '__libc_setup_tls':
libc-tls.c:188: error: unsupported inline asm: input constraint with a matching
output constraint of incompatible type!


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list