LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

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

Rep: Reputation: 0
bug reports on glibc or gcc


Hi,

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:

gcc-3.4.3)
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.

glibc-2.3.3)
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.

glibc-2.3.3)
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
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 121

Rep: Reputation: 15
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

eg:
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
[R]
 
  


Reply


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


All times are GMT -5. The time now is 10:31 AM.

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