Skip to content

Instantly share code, notes, and snippets.

@danielhams
Last active June 26, 2019 09:13
Show Gist options
  • Save danielhams/9ee06817cf1380063482f88f879d15ad to your computer and use it in GitHub Desktop.
Save danielhams/9ee06817cf1380063482f88f879d15ad to your computer and use it in GitHub Desktop.
gcc6.3.0issuesgist
Problems with 6.3 still.
Now building with:
[didbsshell dan@leafy build-gcc]$ g++ --version
g++ (GCC) 4.7.1
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[didbsshell dan@leafy build-gcc]$ which ld
/builds/dan/bootstrapinstall/gbs4_1/bin/ld
[didbsshell dan@leafy build-gcc]$ ld --version
GNU ld (GNU Binutils) 2.19.1
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Fails during stage1 libgcc here:
make[3]: Entering directory '/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc/mips-sgi-irix6.5/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc/./gcc/xgcc -B/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc/./gcc/ -B/usr/people/dan/Temp/sgi-dev-gcc6.3/installdir/mips-sgi-irix6.5/bin/ -B/usr/people/dan/Temp/sgi-dev-gcc6.3/installdir/mips-sgi-irix6.5/lib/ -isystem /usr/people/dan/Temp/sgi-dev-gcc6.3/installdir/mips-sgi-irix6.5/include -isystem /usr/people/dan/Temp/sgi-dev-gcc6.3/installdir/mips-sgi-irix6.5/sys-include -g -O2 --std=c99 -mips4 -I/builds/dan/bootstrapinstall/include -I/builds/dan/bootstrapinstall/include/ncurses -L/builds/dan/bootstrapinstall/lib -O2 -g -O2 --std=c99 -mips4 -I/builds/dan/bootstrapinstall/include -I/builds/dan/bootstrapinstall/include/ncurses -L/builds/dan/bootstrapinstall/lib -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -I. -I. -I../.././gcc -I../../../gcc-sgidev.git/libgcc -I../../../gcc-sgidev.git/libgcc/. -I../../../gcc-sgidev.git/libgcc/../gcc -I../../../gcc-sgidev.git/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -Wno-missing-prototypes -Wno-type-limits -o fixtfsi.o -MT fixtfsi.o -MD -MP -MF fixtfsi.dep -c ../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from ../../../gcc-sgidev.git/libgcc/soft-fp/soft-fp.h:321:0,
from ../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c:31:
../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c: In function '__fixtfsi':
../../../gcc-sgidev.git/libgcc/soft-fp/op-common.h:1564:18: warning: implicit declaration of function 'typeof' [-Wimplicit-function-declaration]
|| (r) != (((typeof (r)) 1) << ((rsize) - 1))) \
^
../../../gcc-sgidev.git/libgcc/soft-fp/quad.h:318:38: note: in expansion of macro '_FP_TO_INT'
# define FP_TO_INT_Q(r, X, rsz, rsg) _FP_TO_INT (Q, 2, (r), X, (rsz), (rsg))
^~~~~~~~~~
../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c:43:3: note: in expansion of macro 'FP_TO_INT_Q'
FP_TO_INT_Q (r, A, SI_BITS, 1);
^~~~~~~~~~~
../../../gcc-sgidev.git/libgcc/soft-fp/op-common.h:1564:30: error: expected ')' before numeric constant
|| (r) != (((typeof (r)) 1) << ((rsize) - 1))) \
^
../../../gcc-sgidev.git/libgcc/soft-fp/quad.h:318:38: note: in expansion of macro '_FP_TO_INT'
# define FP_TO_INT_Q(r, X, rsz, rsg) _FP_TO_INT (Q, 2, (r), X, (rsz), (rsg))
^~~~~~~~~~
../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c:43:3: note: in expansion of macro 'FP_TO_INT_Q'
FP_TO_INT_Q (r, A, SI_BITS, 1);
^~~~~~~~~~~
../../../gcc-sgidev.git/libgcc/soft-fp/op-common.h:1564:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
|| (r) != (((typeof (r)) 1) << ((rsize) - 1))) \
^
../../../gcc-sgidev.git/libgcc/soft-fp/quad.h:318:38: note: in expansion of macro '_FP_TO_INT'
# define FP_TO_INT_Q(r, X, rsz, rsg) _FP_TO_INT (Q, 2, (r), X, (rsz), (rsg))
^~~~~~~~~~
../../../gcc-sgidev.git/libgcc/soft-fp/fixtfsi.c:43:3: note: in expansion of macro 'FP_TO_INT_Q'
FP_TO_INT_Q (r, A, SI_BITS, 1);
^~~~~~~~~~~
make[3]: *** [../../../gcc-sgidev.git/libgcc/shared-object.mk:14: fixtfsi.o] Error 1
make[3]: Leaving directory '/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc/mips-sgi-irix6.5/libgcc'
make[2]: *** [Makefile:14181: all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc'
make[1]: *** [Makefile:16902: stage1-bubble] Error 2
make[1]: Leaving directory '/usr/people/dan/Temp/sgi-dev-gcc6.3/build-gcc'
make: *** [Makefile:907: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment