public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43733]  New: bootstrap fails building libgfortran on Solaris x86 with GNU as
@ 2010-04-12 16:43 redi at gcc dot gnu dot org
  2010-04-12 16:51 ` [Bug bootstrap/43733] " redi at gcc dot gnu dot org
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: redi at gcc dot gnu dot org @ 2010-04-12 16:43 UTC (permalink / raw)
  To: gcc-bugs

../gcc-4.4.3/configure --prefix=/opt/gcc-4.4.3-64/gcc-4.4.3
--enable-languages=c,fortran --with-system-zlib --with-arch=core2
--with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld
--without-gnu-ld

Bootstrap fails with

gmake[5]: Entering directory
`/var/tmp/gcc/tmp/i386-pc-solaris2.10/amd64/libgfortran'
gmake  all-am
gmake[6]: Entering directory
`/var/tmp/gcc/tmp/i386-pc-solaris2.10/amd64/libgfortran'
/bin/bash ./libtool --tag=CC --mode=link /var/tmp/gcc/tmp/./gcc/xgcc
-B/var/tmp/gcc/tmp/./gcc/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/sys-include -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -fcx-fortran-rules -g -O2    -m64  -m64 -o libgfortranbegin.la
-rpath /opt/gcc-4.4.3-64/gcc-4.4.3/lib/gcc/i386-pc-solaris2.10/4.4.3/amd64
-static fmain.lo
libtool: link: ar cr .libs/libgfortranbegin.a  fmain.o
libtool: link: ranlib .libs/libgfortranbegin.a
libtool: link: ( cd ".libs" && rm -f "libgfortranbegin.la" && ln -s
"../libgfortranbegin.la" "libgfortranbegin.la" )
if /bin/bash ./libtool --tag=CC --mode=compile /var/tmp/gcc/tmp/./gcc/xgcc
-B/var/tmp/gcc/tmp/./gcc/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/sys-include -DHAVE_CONFIG_H -I.
-I../../../../gcc-4.4.3/libgfortran -I. 
-iquote../../../../gcc-4.4.3/libgfortran/io
-I../../../../gcc-4.4.3/libgfortran/../gcc
-I../../../../gcc-4.4.3/libgfortran/../gcc/config -I../../.././gcc
-D_GNU_SOURCE  -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2   
-m64 -MT date_and_time.lo -MD -MP -MF ".deps/date_and_time.Tpo" -c -o
date_and_time.lo `test -f 'intrinsics/date_and_time.c' || echo
'../../../../gcc-4.4.3/libgfortran/'`intrinsics/date_and_time.c; \
        then mv -f ".deps/date_and_time.Tpo" ".deps/date_and_time.Plo"; else rm
-f ".deps/date_and_time.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/gcc/tmp/./gcc/xgcc -B/var/tmp/gcc/tmp/./gcc/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/bin/
-B/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/lib/ -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/include -isystem
/opt/gcc-4.4.3-64/gcc-4.4.3/i386-pc-solaris2.10/sys-include -DHAVE_CONFIG_H -I.
-I../../../../gcc-4.4.3/libgfortran -I.
-iquote../../../../gcc-4.4.3/libgfortran/io
-I../../../../gcc-4.4.3/libgfortran/../gcc
-I../../../../gcc-4.4.3/libgfortran/../gcc/config -I../../.././gcc
-D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2 -m64
-MT date_and_time.lo -MD -MP -MF .deps/date_and_time.Tpo -c
../../../../gcc-4.4.3/libgfortran/intrinsics/date_and_time.c  -fPIC -DPIC -o
.libs/date_and_time.o
/var/tmp//cc6vGz5w.s: Assembler messages:
/var/tmp//cc6vGz5w.s:1451: Error: suffix or operands invalid for `sahf'
gmake[6]: *** [date_and_time.lo] Error 1
gmake[6]: Leaving directory
`/var/tmp/gcc/tmp/i386-pc-solaris2.10/amd64/libgfortran'
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory
`/var/tmp/gcc/tmp/i386-pc-solaris2.10/amd64/libgfortran'
gmake[4]: *** [multi-do] Error 1
gmake[4]: Leaving directory `/var/tmp/gcc/tmp/i386-pc-solaris2.10/libgfortran'
gmake[3]: *** [all-multi] Error 2
gmake[3]: Leaving directory `/var/tmp/gcc/tmp/i386-pc-solaris2.10/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/gcc/tmp/i386-pc-solaris2.10/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/var/tmp/gcc/tmp'
gmake: *** [all] Error 2


The same configuration works fine with "--enable-languages=c" or without
"--with-as=/usr/sfw/bin/gas --with-gnu-as"
It only fails if building fortran and using GNU as


CONFIG_SHELL=/usr/bin/bash

GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.

$ /usr/ccs/bin/ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.490

$ /usr/ccs/bin/as -V
as: SunOS 5.10 119961-05 Patch 03/16/2009

$ /usr/sfw/bin/gas --version
GNU assembler 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i386-pc-solaris2.10'.

$ make --version
GNU Make 3.81
Copyright (C) 2006  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.

This program built for i386-pc-solaris2.10

N.B. I have /usr/xpg4/bin first in my PATH to work around Bug 38923


-- 
           Summary: bootstrap fails building libgfortran on Solaris x86 with
                    GNU as
           Product: gcc
           Version: 4.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: redi at gcc dot gnu dot org
 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=43733


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2010-05-24 16:31 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-12 16:43 [Bug bootstrap/43733] New: bootstrap fails building libgfortran on Solaris x86 with GNU as redi at gcc dot gnu dot org
2010-04-12 16:51 ` [Bug bootstrap/43733] " redi at gcc dot gnu dot org
2010-04-12 17:12 ` ubizjak at gmail dot com
2010-04-12 17:15 ` redi at gcc dot gnu dot org
2010-04-12 17:16 ` redi at gcc dot gnu dot org
2010-04-12 17:24 ` [Bug libfortran/43733] " ubizjak at gmail dot com
2010-04-12 17:25 ` redi at gcc dot gnu dot org
2010-04-12 17:30 ` redi at gcc dot gnu dot org
2010-04-12 17:48 ` ubizjak at gmail dot com
2010-04-12 17:56 ` ubizjak at gmail dot com
2010-04-12 17:57 ` ubizjak at gmail dot com
2010-04-12 18:02 ` redi at gcc dot gnu dot org
2010-04-12 18:05 ` redi at gcc dot gnu dot org
2010-04-12 18:09 ` redi at gcc dot gnu dot org
2010-04-12 18:16 ` ubizjak at gmail dot com
2010-04-12 18:21 ` redi at gcc dot gnu dot org
2010-04-12 18:42 ` [Bug bootstrap/43733] " ubizjak at gmail dot com
2010-04-12 20:03 ` ubizjak at gmail dot com
2010-04-13  9:22 ` [Bug libfortran/43733] " redi at gcc dot gnu dot org
2010-04-13 10:12 ` burnus at gcc dot gnu dot org
2010-04-13 11:21 ` [Bug bootstrap/43733] " redi at gcc dot gnu dot org
2010-04-13 12:26 ` [Bug bootstrap/43733] bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2 redi at gcc dot gnu dot org
2010-04-28 18:14 ` ro at gcc dot gnu dot org
2010-04-28 18:38 ` redi at gcc dot gnu dot org
2010-05-19  6:47 ` ubizjak at gmail dot com
2010-05-19 12:22 ` ubizjak at gmail dot com
2010-05-20 10:19 ` redi at gcc dot gnu dot org
2010-05-20 18:52 ` uros at gcc dot gnu dot org
2010-05-20 18:53 ` [Bug target/43733] " ubizjak at gmail dot com
2010-05-24 16:23 ` uros at gcc dot gnu dot org
2010-05-24 16:27 ` uros at gcc dot gnu dot org
2010-05-24 16:29 ` uros at gcc dot gnu dot org
2010-05-24 16:31 ` ubizjak at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).