LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-02-2009, 02:40 AM   #1
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,484

Rep: Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906Reputation: 906
gcc 4.4.2 in testing: problem trying multilib setup


hi fellas,

as I like to experiment a little ( ) I tried to create a multilib toolchain from scratch, with new gcc (4.4.2) in testing so i built a static gcc, editing before /usr/lib64/gcc/x86_64-slackware-linux/4.4.2/specs as indicated in alien bob's guide;
upgraded gcc with the new static version (reedited the file) and tried to build a bootstrap glibc but, no matter which glibc version I use (tried also with 2.10.1), I end up with this:
Code:
x86_64-slackware-linux-gcc memusagestat.c -c -std=gnu99 -fgnu89-inline -O3 -Wall -Winline -Wwrite-strings -fPIC -fmerge-all-constants -g -Wstrict-prototypes      -I../include -I/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc -I/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1 -I../sysdeps/x86_64/elf -I../nptl/sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/x86_64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/x86_64 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/x86_64/fpu -I../nptl/sysdeps/x86_64 -I../sysdeps/x86_64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h      -DNOT_IN_libc -o /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o -MD -MP -MF /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o.dt -MT /glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o
In file included from ../include/argp.h:1,
                 from memusagestat.c:23:
../argp/argp.h: In function '__option_is_short':
../argp/argp.h:579: error: 'UCHAR_MAX' undeclared (first use in this function)
../argp/argp.h:579: error: (Each undeclared identifier is reported only once
../argp/argp.h:579: error: for each function it appears in.)
make[2]: *** [/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/build-glibc-2.10.1/malloc/memusagestat.o] Error 1
make[2]: Leaving directory `/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1/malloc'
make[1]: *** [malloc/others] Error 2
make[1]: Leaving directory `/glibc-tmp-be672987d9520321f399205150bd48f3/glibc-2.10.1'
make: *** [all] Error 2
just to know if anybody else solved this...

looks like he doesn't recognize the include of limits.h

P.S. I tried days ago with testing's 4.4.1 with the same results.

Last edited by ponce; 11-02-2009 at 04:44 AM.
 
  


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
[SOLVED] Slackware64 multilib - E17 compiling problem? kukibl Slackware 1 10-08-2009 11:50 AM
apt-setup under debian testing MacHamster Debian 1 09-06-2006 06:49 AM
gcc testing with nivida driver phatbastard Slackware 2 12-10-2005 09:30 AM
Setup as getting debian testing files from ftp - will it stay with testing BrianHenderson Debian 2 09-02-2004 07:06 PM
Testing a security setup hbbtstar Linux - Security 3 05-04-2004 05:54 PM


All times are GMT -5. The time now is 02:25 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