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/6909] New: Build failure on i386 COFF system


I am experiencing the following problem on glibc HEAD
 (with last changes from 2008 Sep 17):
Build process stops with:

gcc ../sysdeps/i386/fpu/s_finite.S -c -D__NO_MATH_INLINES
-D__LIBC_INTERNAL_MATH_INLINES -I../include -I/f/ins/glibc-build/math
-I/f/ins/glibc-build -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/mingw32
-I../sysdeps/posix -I../sysdeps/ieee754 -I../sysdeps/generic  -I.. -I../libio
-I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DASSEMBLER 
-DGAS_SYNTAX -o /f/ins/glibc-build/math/s_finite.o -MD -MP -MF
/f/ins/glibc-build/math/s_finite.o.dt -MT /f/ins/glibc-build/math/s_finite.o 
../sysdeps/i386/fpu/s_finite.S: Assembler messages:
../sysdeps/i386/fpu/s_finite.S:14: Error: can't resolve `.text' {.text section}
- `__finite' {*UND* section}
make[2]: *** [/f/ins/glibc-build/math/s_finite.o] Error 1
make[2]: Leaving directory `/f/ins/glibc-20080917-1308/glibc/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/f/ins/glibc-20080917-1308/glibc'
make: *** [all] Error 2

The reason for this I found, is that line 90 of sysdeps/i386/sysdeps.h:
  1: .stabs "",36,0,0,1b-name;
is incorrect on systems that prepend an underscore to the name of every c
function which my system, a COFF system, does. 
In order to work on any system the line should rather be:
  1: .stabs "",36,0,0,1b-C_SYMBOL_NAME(name);
At least this fixes the problem for me.

-- 
           Summary: Build failure on i386 COFF system
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: tcl_de at gmx dot net
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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]