Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 12-04-2004, 08:10 PM   #1
LQ Newbie
Registered: Nov 2004
Location: the Netherlands
Distribution: gentoo/ubuntu
Posts: 11

Rep: Reputation: 0
bug reports on glibc or gcc


I've got some problems installing (compiling) gcc and glibc. (Cross-compiling from sparc-*-linux-gnu to sparc64-*-linux-gnu).

Please give me some exact pointers where to find these problems and their answers. (or where to submit new ones).

Some examples:

Error: sed -e : options requires an argument.
This was to a fault in the automake? script. The generated code should be " sed -e $t ". I could manage a workaround.

Error: memset.S: sparcv9 not compatible with sparcv9a or sparcv9b.
This as a fault to a script error (again). It should pass the CFLAGS to the compiler which it fails to do this time. Simple workaround was to set the the flags within the CC variable.

And my latest error (yet unsolved... :-((( ):
*** No rule to make target `/mnt/tools/glibc-build/misc/setfsuid.o', needed by `/mnt/tools/glibc-build/misc/stamp.o'. Stop.

Of course I spit the internet looking for some information, but most of the time I fail. I did get the solution to the "sparcv9" on the internet, but it was not fixed in my download of glibc from gnu. Neither do I get any result using databases of the bug-glibc mailing lists. Where to find the solution?

Please tell me, or should I just use an intel with the lack of a netboot in the bios? :-p

- Tom

PS Why does gcc-3.4.3 not have a proper manual for configure?
Old 12-06-2004, 01:43 AM   #2
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Glibc sets itself up according to whatever --host is specified as, but you need to override CC and set CFLAGS so the chosen
toolchain produces binaries correctly for the target type you have chosen.

Ensure you set
CC on the environment to configure with correct flags

BUILD_CC=gcc \
CC=sparc*-*-linux-gnu-gcc -m64 -mcpu=ultrasparc" \
AR="..." \
RANLIB="..." \
../glibc-src/configure \

and supply --host=sparc64-*-linux-gnu .

(You may need to modify --build slightly to trigger glibc to cross-compile if build matches host)

Note: currently no nptl support for sparc64
Been a while since I have attempted a bi-arch sparc build, may run a build over the next day or two, will report back

HTH some


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
About Man pages and Bug reports szofiel Linux - Newbie 2 10-29-2005 09:13 PM
Bug reports, using them microsoft/linux Debian 1 10-12-2005 08:22 AM
bug reports with apt-get MaTrIx709 Debian 2 07-27-2005 07:05 PM
10.1 Beta Cycle Begins, send those bug reports in ! doug_s Mandriva 0 07-24-2004 10:34 AM
How to submit bug reports to Mandrakesoft? registering Mandriva 2 06-04-2004 10:32 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration