This is the mail archive of the libc-help@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]

Cannot compile to boot on ix86 and atom n450


I'm not sure this is a bug or if I'm making some kind of mistake, but using 
gcc-4.2.2 and the 2.6.29.1 kernel, when glibc-2.9 is compiled with:

CFLAGS="-march=i486 -mtune=i686 -pipe -O2"
../glibc-2.9/configure --prefix=/usr --disable-profile --enable-add-ons --
enable-kernel=2.6.16

It will not boot on i486 or i586 machines, but will boot on i686 machines and 
the atom n450.

When glibc-2.9 is compiled with CFLAGS unset and:
echo "CFLAGS += -march=i486 -mtune=i686 -pipe" > configparms
../glibc-2.9/configure --prefix=/usr i486-pc-linux-gnu --disable-profile --
enable-add-ons --enable-kernel=2.6.16

..it will boot on i486, i586, i686 machines, but although it will boot on an 
atom n450, it gives these errors:

Adding 476152k swap on /dev/sdb4.  Priority:-1 extents:1 across:476152k 
usleep[395]: segfault at d ip b7e3012e sp bfabd040 error 4 in libc-2.9.so
[b7e1a000+157000]
usleep[396]: segfault at d ip b7d9f12e sp bfb2a8b0 error 4 in libc-2.9.so
[b7d89000+157000]
usleep[397]: segfault at d ip b7dd812e sp bfe633f0 error 4 in libc-2.9.so
[b7dc2000+157000]
usleep[398]: segfault at d ip b7da612e sp bfb338c0 error 4 in libc-2.9.so
[b7d90000+157000]
usleep[399]: segfault at d ip b7e6012e sp bfeebc70 error 4 in libc-2.9.so
[b7e4a000+157000]
usleep[400]: segfault at d ip b7e6512e sp bfff0580 error 4 in libc-2.9.so
[b7e4f000+157000]
usleep[401]: segfault at d ip b7d9512e sp bf8205b0 error 4 in libc-2.9.so
[b7d7f000+157000]
usleep[402]: segfault at d ip b7dbd12e sp bfb480d0 error 4 in libc-2.9.so
[b7da7000+157000]
usleep[403]: segfault at d ip b7d7712e sp bfb04090 error 4 in libc-2.9.so
[b7d61000+157000]
usleep[404]: segfault at d ip b7e5d12e sp bffea570 error 4 in libc-2.9.so
[b7e47000+157000]
oss_hdaudio 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

Is this a bug or is there a smarter way to compile to work on these machines?

-- 
           Summary: Cannot compile to boot on ix86 and atom n450
           Product: glibc
           Version: 2.9
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: j-frankish at slb dot com
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i686-pc-linux-gnu


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


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