hello all,
I recently built my conceptgcc but failed when my built gcc tried to
build multilib.
I post it here because the problem seems to be more related with the
general gcc.
To my knowledge, one major different between this building and my
last success one
is the GMP and MPFR package provision.
I am building it on iMac (intel core duo + os x 10.4.9).
The more detail information could be found in the following.
Would anyone like to help me out or just leave any suggestion for me?
Thanks very much!
-xiaolong
My building platform is as below:
-------------------------------------------
Using built-in specs.
Target: i386-apple-darwin8.9.1
Configured with: ../xiaolong/gcc/configure --program-transform-
name='s/^g++$/conceptg++/' --prefix=/Users/txltamu/bin/conceptgcc --
enable-languages=c++ --with-gmp=/opt/local --with-mpfr=/opt/local
Thread model: posix
gcc version 4.3.0 20070330 (experimental) (Indiana University
ConceptGCC -- BoostCon Edition)
The message is as below:
-----------------------------------
# If this is the top-level multilib, build all the other
# multilibs.
/bin/sh ../../../../xiaolong/gcc/libgcc/../mkinstalldirs ../../.././
gcc/x86_64
mkdir ../../.././gcc/x86_64
for file in libgcc_s.10.4.dylib libgcc_s.10.5.dylib libgcc_s.1.dylib;
do \
rm -f ../../.././gcc/x86_64/$file; \
ln -s ../$file ../../.././gcc/x86_64/; \
done
rm -f ../../.././gcc/x86_64/libgcc_s_x86_64.1.dylib
ln -s libgcc_s.1.dylib \
../../.././gcc/x86_64/libgcc_s_x86_64.1.dylib
rm -f ../../.././gcc/x86_64/libgcc_s_ppc64.1.dylib
ln -s libgcc_s.1.dylib \
../../.././gcc/x86_64/libgcc_s_ppc64.1.dylib
/Users/txltamu/desktop/xiaolong/svn/commonsvn/conceptgcc/branches/
build/./gcc/xgcc -B/Users/txltamu/desktop/xiaolong/svn/commonsvn/
conceptgcc/branches/build/./gcc/ -B/Users/txltamu/bin/conceptgcc/i386-
apple-darwin8.9.1/bin/ -B/Users/txltamu/bin/conceptgcc/i386-apple-
darwin8.9.1/lib/ -isystem /Users/txltamu/bin/conceptgcc/i386-apple-
darwin8.9.1/include -isystem /Users/txltamu/bin/conceptgcc/i386-apple-
darwin8.9.1/sys-include -g -fkeep-inline-functions -m64 -O2 -O2 -g -
O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC
-pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -
I. -I. -I../../.././gcc -I../../../../xiaolong/gcc/libgcc -
I../../../../xiaolong/gcc/libgcc/. -I../../../../xiaolong/gcc/
libgcc/../gcc -I../../../../xiaolong/gcc/libgcc/../include -o
_muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -
c ../../../../xiaolong/gcc/libgcc/../gcc/libgcc2.c \
-fvisibility=hidden -DHIDE_EXPORTS
/usr/bin/as: assembler (/usr/libexec/gcc/darwin/x86_64/as or /usr/
local/libexec/gcc/darwin/x86_64/as) for architecture x86_64 not
installed
Installed assemblers are:
/usr/libexec/gcc/darwin/ppc64/as for architecture ppc64
/usr/libexec/gcc/darwin/ppc/as for architecture ppc
/usr/libexec/gcc/darwin/i386/as for architecture i386
/usr/local/libexec/gcc/darwin/m68k/as for architecture m68k
/usr/local/libexec/gcc/darwin/hppa/as for architecture hppa
/usr/local/libexec/gcc/darwin/sparc/as for architecture sparc
/usr/local/libexec/gcc/darwin/m88k/as for architecture m88k
/usr/local/libexec/gcc/darwin/i860/as for architecture i860
In file included from /usr/include/sys/_types.h:26,
from /usr/include/_types.h:27,
from /usr/include/stdio.h:64,
from ../../../../xiaolong/gcc/libgcc/../gcc/
tsystem.h:90,
from ../../../../xiaolong/gcc/libgcc/../gcc/
libgcc2.c:33:
/usr/include/sys/cdefs.h:335:4: error: #error Unknown architecture
In file included from /usr/include/sys/_types.h:27,
from /usr/include/_types.h:27,
from /usr/include/stdio.h:64,
from ../../../../xiaolong/gcc/libgcc/../gcc/
tsystem.h:90,
from ../../../../xiaolong/gcc/libgcc/../gcc/
libgcc2.c:33:
/usr/include/machine/_types.h:30:2: error: #error architecture not
supported
In file included from /usr/include/_types.h:27,
from /usr/include/stdio.h:64,
from ../../../../xiaolong/gcc/libgcc/../gcc/
tsystem.h:90,
from ../../../../xiaolong/gcc/libgcc/../gcc/
libgcc2.c:33:
/usr/include/sys/_types.h:96: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__darwin_blkcnt_t'
/usr/include/sys/_types.h:97: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__darwin_blksize_t'
/usr/include/sys/_types.h:98: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__darwin_dev_t'
/usr/include/sys/_types.h:101: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '__darwin_gid_t'
/usr/include/sys/_types.h:102: error: expected '=', ',', ';', 'asm'
or '__attribute__' before '__darwin_id_t'
...
/usr/include/sys/_types.h:148: error: expected specifier-qualifier-
list before '__darwin_size_t'
/usr/include/sys/_types.h:165: error: expected specifier-qualifier-
list before '__darwin_sigset_t'
/usr/include/sys/_types.h:184: error: expected specifier-qualifier-
list before '__darwin_sigset_t'
In file included from /usr/include/stdio.h:64,
from ../../../../xiaolong/gcc/libgcc/../gcc/
tsystem.h:90,
from ../../../../xiaolong/gcc/libgcc/../gcc/
libgcc2.c:33:
/usr/include/_types.h:32: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__darwin_wctype_t'
In file included from ../../../../xiaolong/gcc/libgcc/../gcc/
tsystem.h:90,
from ../../../../xiaolong/gcc/libgcc/../gcc/
libgcc2.c:33:
/usr/include/stdio.h:84: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fpos_t'
/usr/include/stdio.h:145: error: expected specifier-qualifier-list
before 'fpos_t'
/usr/include/stdio.h:255: error: expected declaration specifiers or
'...' before 'fpos_t'
/usr/include/stdio.h: In function 'fprintf':
/usr/include/stdio.h:258: error: expected declaration specifiers
before '__DARWIN_LDBL_COMPAT'
/usr/include/stdio.h:264: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__DARWIN_LDBL_COMPAT'
/usr/include/stdio.h:266: error: expected ';', ',' or ')' before '*'
token
/usr/include/stdio.h:273: error: storage class specified for
parameter 'sys_nerr'
/usr/include/stdio.h:274: error: storage class specified for
parameter 'sys_errlist'
/usr/include/stdio.h:277: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__DARWIN_LDBL_COMPAT'
/usr/include/stdio.h:284: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '__DARWIN_LDBL_COMPAT'
....
--end