[Bug 828] New: Coreutils uname patch doesn't fix arch bug

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Tue May 11 05:04:24 PDT 2004


           Summary: Coreutils uname patch doesn't fix arch bug
           Product: Linux From Scratch
           Version: 5.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: matt at projecthugo.co.uk
         QAContact: lfs-book at linuxfromscratch.org


I am having problems getting the uname command to display the architechture of 
the system being run on.

I have patched the coreutils package with the recommended patches as instructed 
in the LFS 5.0 book, and uname -i still displays "Unknown"

I have tried using the later version of coreutils from the LFS 5.1 pre CVS 
release and applying the 5.1 version of the patches, this results in the same 

as an interesting asside, on another machine I had this same problem and got 
the coreutils package from the gentoo source tree (already patched) and it 
worked fine.

The machine I am having problems with at the moment is an IBM Thinkpad, built 
with gcc 3.3.3 no optimisation. the CPU/Arch is an Intel Pentium3 processor

I built coreutils with the the optimisation flags -Os -march=pentium3

The output of uname -a is as follows

Linux jaguar 2.4.26 #8 Wed Apr 28 19:46:13 BST 2004 i686 GenuineIntel unknown 

uname -i 


The other LFS 5.0 machine I built that was having this problem was an AMD 
machine, and the output of coreutils was the same until I used the gentoo 
source which seems to work

uname -a
Linux jordan.no-dns.co.uk 2.4.25 #3 Mon Mar 15 19:47:18 EST 2004 i686 AMD Athlon
(tm) processor AuthenticAMD GNU/Linux

uname -i 


I am tempted to try the gentoo coreutils source on the pentium 3 laptop, but It 
hought I'd log this first to see if you needed any more information.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the lfs-book mailing list