public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "j-frankish at slb dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/11288] New: Cannot compile to boot on ix86 and atom n450
Date: Tue, 16 Feb 2010 11:18:00 -0000	[thread overview]
Message-ID: <20100216111813.11288.j-frankish@slb.com> (raw)

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 are on the CC list for the bug, or are watching someone who is.


             reply	other threads:[~2010-02-16 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 11:18 j-frankish at slb dot com [this message]
2010-02-16 14:15 ` [Bug libc/11288] " drepper at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100216111813.11288.j-frankish@slb.com \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).