mips-linux bootstrap broken was: [PATCH 2/6] Add support for Bionic C library

Laurent GUERBY laurent@guerby.net
Sun Jun 13 18:58:00 GMT 2010


On Thu, 2010-05-20 at 20:06 +0400, Maxim Kuvyrkov wrote:
> On 5/20/10 8:03 PM, Maxim Kuvyrkov wrote:
> > This patch adds new -mbionic option to select Bionic C library.  The
> > option is made similar to -mglibc and -muclibc.
> >
> > OK to check in?
> >
> > Thank you,
> 
> And here is the patch.

Hi Maxim,

I think your patch broke bootstrap on mips64el-linux platforms:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44456

<<
gcc -mabi=n32   -g -fkeep-inline-functions -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings\
 -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../trunk/gcc -I../../trunk/gcc/. -I../../trunk/gcc/../include
-I../../trunk/gcc/../libcpp/include -I/opt/cfarm/gmp-4.2.4-n32/include
-I/opt/cfarm/mpfr-2.4.1-\
n32/include -I/opt/cfarm/mpc-0.8-n32/include  -I../../trunk/gcc/../libdecnumber
-I../../trunk/gcc/../libdecnumber/dpd -I../libdecnumber     \
  -DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/n/42/guerby/install-trunk-159959/lib/gcc/\"
-DSTANDARD_LIBEXEC_PREFIX=\"/n/42/guerby/install-trunk-159959/libexec/gcc/\"
-DDEFAULT_TARGET_VERSION=\"4.6.0\" -DDEFAULT_\
TARGET_MACHINE=\"mips64el-unknown-linux-gnu\"
-DSTANDARD_BINDIR_PREFIX=\"/n/42/guerby/install-trunk-159959/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test
"yes" != "yes" || echo "-DENABLE_SHARED_LIBGC\
C"` -DCONFIGURE_SPECS="\"\"" \
  -c ../../trunk/gcc/gcc.c -o gcc.o)
../../trunk/gcc/gcc.c:827:32: error: macro "CHOOSE_DYNAMIC_LINKER" requires 3
arguments, but only 2 given
../../trunk/gcc/gcc.c:827: error: expected ',' or ';' before ')' token
make[3]: *** [gcc.o] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2
>>

Do you know how to fix this?

Thanks in advance,

Laurent





More information about the Gcc-patches mailing list