This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/27969] New: Can't bootstrap gcc 4.1.1 on Solaris 10 on i86pc
- From: "emil at cs dot rmit dot edu dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2006 04:47:49 -0000
- Subject: [Bug bootstrap/27969] New: Can't bootstrap gcc 4.1.1 on Solaris 10 on i86pc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
emil@cicada:/export/emil/gcc/objdir> uname -a
SunOS cicada 5.10 Generic_Patch i86pc i386 i86pc
emil@cicada:/export/emil/gcc/objdir> /export/emil/gcc/gcc-4.1.1/configure
--enable-languages=c --prefix=/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1
emil@cicada:/export/emil/gcc/objdir> gmake bootstrap
[...]
gmake GCC_FOR_TARGET=" ./xgcc -B./
-B/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/bin/ -isystem
/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/include -isystem
/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/sys-include
-L/export/emil/gcc/objdir/gcc/../ld" \
AR_FOR_TARGET="ar" \
AR_CREATE_FOR_TARGET="ar rc" \
AR_EXTRACT_FOR_TARGET="ar x" \
AR_FLAGS_FOR_TARGET="" \
CC="cc" CFLAGS="-g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING " \
BUILD_PREFIX="" \
BUILD_PREFIX_1="loser-" \
LANGUAGES="c " \
LIBGCC2_CFLAGS="-O2 -O2 -g -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-m64 " \
MULTILIB_CFLAGS=" -m64" T=amd64/ amd64/gmon.o amd64/crtbegin.o amd64/crtend.o
gmake[4]: Entering directory `/export/emil/gcc/objdir/gcc'
./xgcc -B./ -B/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/bin/
-isystem /usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/include
-isystem
/usr/local/stow/gcc-4.1.1/pkg/gcc-4.1.1/i386-pc-solaris2.10/sys-include
-L/export/emil/gcc/objdir/gcc/../ld -O2 -g -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -I. -Iamd64 -I/export/emil/gcc/gcc-4.1.1/gcc
-I/export/emil/gcc/gcc-4.1.1/gcc/amd64
-I/export/emil/gcc/gcc-4.1.1/gcc/../include -I./../intl
-I/export/emil/gcc/gcc-4.1.1/gcc/../libcpp/include -m64 \
-c /export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c -o
amd64/gmon.o
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:130: warning: return
type defaults to â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:130: warning: function
declaration isnât a prototype
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: In function â:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:132: warning: old-style
function definition
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:142: warning: cast from
pointer to integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:145: warning: cast from
pointer to integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:149: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:149: warning: cast to
pointer from integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:151: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:152: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:154: warning: cast to
pointer from integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:158: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:166: warning: cast to
pointer from integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:171: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:182: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:203: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:207: warning: return
type defaults to â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:207: warning: function
declaration isnât a prototype
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: In function â:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:207: warning: old-style
function definition
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:216: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:218: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:219: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:223:11: warning: extra
tokens at end of #endif directive
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:237:13: warning: extra
tokens at end of #endif directive
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:244: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:253: warning: return
type defaults to â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:253: warning: function
declaration isnât a prototype
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: In function â:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:253: warning: old-style
function definition
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:274: warning: type
defaults to â in declaration of â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:274: warning: function
declaration isnât a prototype
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:281: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:376: warning: â with no
value, in function returning non-void
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:391: warning: return
type defaults to â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:391: warning: function
declaration isnât a prototype
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: In function â:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:392: warning: old-style
function definition
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:396: warning: implicit
declaration of function â
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:398: warning: cast from
pointer to integer of different size
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:406: warning: control
reaches end of non-void function
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c: At top level:
/export/emil/gcc/gcc-4.1.1/gcc/config/i386/gmon-sol2.c:58: warning: â defined
but not used
Assembler:
"", line 1 : Illegal flag (-)
gmake[4]: *** [amd64/gmon.o] Error 1
gmake[4]: Leaving directory `/export/emil/gcc/objdir/gcc'
gmake[3]: *** [extraamd64] Error 2
gmake[3]: Leaving directory `/export/emil/gcc/objdir/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/export/emil/gcc/objdir/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/export/emil/gcc/objdir/gcc'
gmake: *** [bootstrap] Error 2
It seems -m64 is being passed to the assembler, which doesn't like it.
"as" is /usr/ccs/bin/as which is the Sun assembler, not the GNU one.
As an aside, what's up with the "â defined but not used"? I also see this when
shelling to recent Linux systems. "setenv LANG C" gets me usable output from
the compiler, but why is this broken in the first place?
--
Summary: Can't bootstrap gcc 4.1.1 on Solaris 10 on i86pc
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: emil at cs dot rmit dot edu dot au
GCC build triplet: i386-pc-solaris2.10
GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27969