* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
@ 2003-08-12 23:56 ` pinskia at gcc dot gnu dot org
2003-08-18 15:53 ` dhazeghi at yahoo dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-12 23:56 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |target
Keywords| |build
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-12 23:55 -------
Bugs 1, 2, 3, and 4 looks like these solaris target problems (not really written for a cross
compiler).
Someone who knows the solaris target should look at these.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
2003-08-12 23:56 ` [Bug target/11890] " pinskia at gcc dot gnu dot org
@ 2003-08-18 15:53 ` dhazeghi at yahoo dot com
2003-08-18 16:02 ` dhazeghi at yahoo dot com
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 15:53 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-18 15:53 -------
I can confirm the first problem in this report. I'm going to open a separate bug for that, since there
are really too many issue in this report to deal with simultaneously.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
2003-08-12 23:56 ` [Bug target/11890] " pinskia at gcc dot gnu dot org
2003-08-18 15:53 ` dhazeghi at yahoo dot com
@ 2003-08-18 16:02 ` dhazeghi at yahoo dot com
2003-08-18 17:22 ` dhazeghi at yahoo dot com
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 16:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |11967
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (2 preceding siblings ...)
2003-08-18 16:02 ` dhazeghi at yahoo dot com
@ 2003-08-18 17:22 ` dhazeghi at yahoo dot com
2003-08-18 17:45 ` dhazeghi at yahoo dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 17:22 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-18 17:22:43
date| |
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-18 17:22 -------
The workaround for problem #1 is to use the (obsolete) --with-headers and --with-libs. Copy all
headers into one directory, and all libraries into another, and just do --with-headers=/path/to/
includes --with-libs=/path/to/libs.
Using this workaround, I did not encounter your second problem. Admittedly, I'm using sparc-
sun-solaris2.8.
Regarding bug 3, I encountered this, but that was because it turned out that the values-Xa.o in /
path/to/libs was a dangling symlink. After fixing that, I can't reproduce bug #3.
I also did not encounter bug 4. I did hit the problem with libdl.so.1, and am looking into a
workaround (or fix).
So would it be possible for you to try using --with-libs and --with-headers, and see if they help at
all? I've opened another bug for the --with-sysroot issue, which looks to be more of a generic
issue (PR11967), and hopefully our sysroot expert will have either an explanation or a patch.
Thanks,
Dara
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (3 preceding siblings ...)
2003-08-18 17:22 ` dhazeghi at yahoo dot com
@ 2003-08-18 17:45 ` dhazeghi at yahoo dot com
2003-08-18 17:59 ` dhazeghi at yahoo dot com
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 17:45 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
Bug 11890 depends on bug 11967, which changed state.
Bug 11967 Summary: cross build using sysroot fails when headers not in $prefix/$target/include
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11967
What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (4 preceding siblings ...)
2003-08-18 17:45 ` dhazeghi at yahoo dot com
@ 2003-08-18 17:59 ` dhazeghi at yahoo dot com
2003-08-18 18:48 ` dhazeghi at yahoo dot com
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 17:59 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-18 17:59 -------
Okay, well now I see why sysroot isn't working. As Dan Jacobowitz pointed out, sysroot doesn't
actually exist on the gcc 3.3 branch. This fact at all clear on the page. Anyway, with gcc mainline
cvs (what will become 3.4), sysroot works fine for me and behaves as expected. If you need 3.3,
you'll have to use --with-libs and --with-headers. Otherwise, I'd suggest trying out gcc cvs. The
rpath issue still remains though.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (5 preceding siblings ...)
2003-08-18 17:59 ` dhazeghi at yahoo dot com
@ 2003-08-18 18:48 ` dhazeghi at yahoo dot com
2003-08-23 1:16 ` dhazeghi at yahoo dot com
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-18 18:48 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-18 18:48 -------
Regarding rpath, it looks like the quickest workaround is to hack the gcc specs file:
edit gcc/specs lines which reference link_arch*. Add -rpath-link /path/to/necessary/libs to each
link_arch* line, right before -Y. Alternatively, if all you want to do is link standard 32 bit
applications, you can just do this for link_arch_default. My link_arch_default looks something like
this:
*link_arch_default:
%{G:-G} %{YP,*} %{R*} %{compat-bsd: %{!YP,*:%{p|pg:-rpath-link /tmp/dara/sparc-sun-
solaris2.8/sysroot/lib/ -Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib}
%{!p:%{!pg:-rpath-link /tmp/dara/sparc-sun-solaris2.8/sysroot/lib/ -Y P,/usr/ucblib:/usr/ccs/
lib:/usr/lib}}} -R /usr/ucblib} %{!compat-bsd: %{!YP,*:%{p|pg:-rpath-link /tmp/dara/
sparc-sun-solaris2.8/sysroot/lib/ -Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib}
%{!p:%{!pg: -rpath-link /tmp/dara/sparc-sun-solaris2.8/sysroot/lib/ -Y P,/usr/ccs/lib:/usr/lib}}}}
After doing this, you should no longer need to pass -Wl... Note that for 32bit and 64bit link_arch
you _will_ need to specify different -rpath-link paths, since sparcv9 has its libs in the sparcv9
subdirectory. Doing so I can successfully build a Linux x Solaris cross compiler that will build C
and C++ programs (and said programs appear to run fine).
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (6 preceding siblings ...)
2003-08-18 18:48 ` dhazeghi at yahoo dot com
@ 2003-08-23 1:16 ` dhazeghi at yahoo dot com
2003-09-27 5:41 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23 1:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (7 preceding siblings ...)
2003-08-23 1:16 ` dhazeghi at yahoo dot com
@ 2003-09-27 5:41 ` pinskia at gcc dot gnu dot org
2003-12-18 21:29 ` dhazeghi at yahoo dot com
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-27 5:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikeu1969 at hotmail dot com
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-27 05:06 -------
*** Bug 12351 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (8 preceding siblings ...)
2003-09-27 5:41 ` pinskia at gcc dot gnu dot org
@ 2003-12-18 21:29 ` dhazeghi at yahoo dot com
2004-04-01 15:07 ` si1356 at yahoo dot co dot uk
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-12-18 21:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dhazeghi at yahoo dot com 2003-12-18 21:03 -------
sysroot issue is fixed on branch now (and documented). It will be fixed in 3.3.3. The rpath-link
issue has just been fixed on branch as well, by <http://gcc.gnu.org/ml/gcc-patches/2003-12/
msg01612.html>
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (9 preceding siblings ...)
2003-12-18 21:29 ` dhazeghi at yahoo dot com
@ 2004-04-01 15:07 ` si1356 at yahoo dot co dot uk
2004-04-01 15:12 ` si1356 at yahoo dot co dot uk
2004-04-13 22:00 ` mikeu1969 at hotmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: si1356 at yahoo dot co dot uk @ 2004-04-01 15:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From si1356 at yahoo dot co dot uk 2004-04-01 15:06 -------
First copied /usr/include and /usr/lib from running Sol 2.6 system
Make link to values-Xa.o as commented elsewhere.
then:
src=/home/smh/cross
host=i686-pc-linux-gnu
target=sparc-sun-solaris2.6
prefix=$src/build-install
headers=$src/sun/usr/include
libs=$src/sun/usr/lib
sysroot=$src/sun
cd build-binutils
../binutils-2.14/configure --prefix=$prefix --host=$host --target=$target --
with-sysroot=$sysroot -v
make all
make install
cd ..
cd build-gcc
../gcc-3.3.3/configure --prefix=$prefix --host=$host --target=$target --with-
sysroot=$sysroot \
--with-gnu-ld --with-gnu-as -v
--- some time later ---
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib};
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/home/smh/cross/build-
gcc/gcc/xgcc -B/home/smh/cross/build-gcc/gcc/ -B/home/smh/cross/build-
install/sparc-sun-solaris2.6/bin/ -B/home/smh/cross/build-install/sparc-sun-
solaris2.6/lib/ -isystem /home/smh/cross/build-install/sparc-sun-
solaris2.6/include" "CFLAGS=-O2 -g -O2" "CXXFLAGS=-g -
O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -
O2" "INSTALL=/bin/sh /home/smh/cross/gcc-3.3.3/install-sh -
c" "INSTALL_DATA=/bin/sh /home/smh/cross/gcc-3.3.3/install-sh -c -m
644" "INSTALL_PROGRAM=/bin/sh /home/smh/cross/gcc-3.3.3/install-sh -
c " "INSTALL_SCRIPT=/bin/sh /home/smh/cross/gcc-3.3.3/install-sh -
c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -
O2" "MAKE=make" "MAKEINFO=makeinfo --no-
split " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec
_prefix=/home/smh/cross/build-install" "infodir=/home/smh/cross/build-
install/info" "libdir=/home/smh/cross/build-
install/lib" "includedir=/home/smh/cross/build-
install/include" "prefix=/home/smh/cross/build-
install" "tooldir=/home/smh/cross/build-install/sparc-sun-
solaris2.6" "gxx_include_dir=/home/smh/cross/build-
install/include/c++/3.3.3" "AR=sparc-sun-solaris2.6-
ar" "AS=/home/smh/cross/build-install/sparc-sun-
solaris2.6/bin/as" "LD=/home/smh/cross/build-install/sparc-sun-
solaris2.6/bin/ld" "LIBCFLAGS=-O2 -g -O2" "PICFLAG=" "RANLIB=sparc-sun-
solaris2.6-ranlib" "NM=/home/smh/cross/build-install/sparc-sun-
solaris2.6/bin/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/home/smh/cross/build-
install/sparc-sun-solaris2.6/bin/nm" "DESTDIR=" "WERROR=" \
CFLAGS="-O2 -g -O2 ${flags}" \
prefix="/home/smh/cross/build-install" \
exec_prefix="/home/smh/cross/build-install" \
GCJFLAGS="@GCJFLAGS@ ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-O2 -g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
LDFLAGS=" ${flags}" \
DESTDIR="" \
INSTALL="/bin/sh /home/smh/cross/gcc-3.3.3/install-sh -
c" \
INSTALL_DATA="/bin/sh /home/smh/cross/gcc-3.3.3/install-
sh -c -m 644" \
INSTALL_PROGRAM="/bin/sh /home/smh/cross/gcc-
3.3.3/install-sh -c " \
INSTALL_SCRIPT="/bin/sh /home/smh/cross/gcc-
3.3.3/install-sh -c" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3'
Making all in include
make[3]: Entering directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/include'
ln: `./cassert': File exists
ln: `./cctype': File exists
ln: `./cerrno': File exists
ln: `./cfloat': File exists
ln: `./ciso646': File exists
ln: `./climits': File exists
ln: `./clocale': File exists
ln: `./cmath': File exists
ln: `./csetjmp': File exists
ln: `./csignal': File exists
ln: `./cstdarg': File exists
ln: `./cstddef': File exists
ln: `./cstdio': File exists
ln: `./cstdlib': File exists
ln: `./cstring': File exists
ln: `./ctime': File exists
ln: `./cwchar': File exists
ln: `./cwctype': File exists
ln: `./cmath.tcc': File exists
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/include'
Making all in libio
make[3]: Entering directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libio'
Making all in libmath
make[3]: Entering directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libmath'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libmath'
Making all in libsupc++
make[3]: Entering directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libsupc++'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/libsupc++'
Making all in src
make[3]: Entering directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/src'
/bin/sh ../libtool --tag CXX --mode=compile /home/smh/cross/build-gcc/gcc/xgcc -
shared-libgcc -B/home/smh/cross/build-gcc/gcc/ -nostdinc++ -
L/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/src -
L/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/src/.libs -
B/home/smh/cross/build-install/sparc-sun-solaris2.6/bin/ -
B/home/smh/cross/build-install/sparc-sun-solaris2.6/lib/ -
isystem /home/smh/cross/build-install/sparc-sun-solaris2.6/include -nostdinc++ -
I/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/sparc-sun-
solaris2.6 -I/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include -I../../../../gcc-3.3.3/libstdc++-v3/libsupc++ -I../../../../gcc-
3.3.3/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-
format -W -Wwrite-strings -fdiagnostics-show-location=once -
c ../../../../gcc-3.3.3/libstdc++-v3/src/bitset.cc
/home/smh/cross/build-gcc/gcc/xgcc -shared-libgcc -B/home/smh/cross/build-
gcc/gcc/ -nostdinc++ -L/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/src -L/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/src/.libs -
B/home/smh/cross/build-install/sparc-sun-solaris2.6/bin/ -
B/home/smh/cross/build-install/sparc-sun-solaris2.6/lib/ -
isystem /home/smh/cross/build-install/sparc-sun-solaris2.6/include -nostdinc++ -
I/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/sparc-sun-
solaris2.6 -I/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include -I../../../../gcc-3.3.3/libstdc++-v3/libsupc++ -I../../../../gcc-
3.3.3/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -
Wwrite-strings -fdiagnostics-show-location=once -c ../../../../gcc-
3.3.3/libstdc++-v3/src/bitset.cc -fPIC -DPIC -o .libs/bitset.o
In file included from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bits/locale_facets.tcc:41,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/locale:47,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bits/ostream.tcc:37,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/ostream:535,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bitset:58,
from ../../../../gcc-3.3.3/libstdc++-v3/src/bitset.cc:43:
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/cmath:88:51: operator '||' has no right operand
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/cmath:108:52: operator '!' has no right operand
In file included from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bits/locale_facets.tcc:41,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/locale:47,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bits/ostream.tcc:37,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/ostream:535,
from /home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-
v3/include/bitset:58,
from ../../../../gcc-3.3.3/libstdc++-v3/src/bitset.cc:43:
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::acos(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:187:
error: `
acosf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::asin(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:207:
error: `
asinf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::atan(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:225:
error: `
atanf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::atan2(float, float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:243:
error: `
atan2f' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::ceil(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:263:
error: `
ceilf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::cosh(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:291:
error: `
coshf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::exp(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:309:
error: `
expf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::floor(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:337:
error: `
floorf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::fmod(float, float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:355:
error: `
fmodf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::frexp(float, int*)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:375:
error: `
frexpf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::ldexp(float, int)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:394:
error: `
ldexpf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::log(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:414:
error: `
logf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::log10(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:432:
error: `
log10f' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::modf(float, float*)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:450:
error: `
modff' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::pow(float, float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:489:
error: `
powf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::sinh(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:531:
error: `
sinhf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::tan(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:559:
error: `
tanf' undeclared in namespace `__gnu_cxx::__c99_binding'
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath: In
function `float std::tanh(float)':
/home/smh/cross/build-gcc/sparc-sun-solaris2.6/libstdc++-v3/include/cmath:577:
error: `
tanhf' undeclared in namespace `__gnu_cxx::__c99_binding'
make[3]: *** [bitset.lo] Error 1
make[3]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/smh/cross/build-gcc/sparc-sun-
solaris2.6/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (10 preceding siblings ...)
2004-04-01 15:07 ` si1356 at yahoo dot co dot uk
@ 2004-04-01 15:12 ` si1356 at yahoo dot co dot uk
2004-04-13 22:00 ` mikeu1969 at hotmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: si1356 at yahoo dot co dot uk @ 2004-04-01 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From si1356 at yahoo dot co dot uk 2004-04-01 15:12 -------
In case it wasn't obvious, my last comment referred to gcc 3.3.3. Sorry for
any confusion. I'll try again with something more recent to see if that solves
it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug target/11890] Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails
2003-08-12 3:29 [Bug bootstrap/11890] New: Building cross gcc-3.3.1 for sparc-sun-solaris2.6 fails sampo at symlabs dot com
` (11 preceding siblings ...)
2004-04-01 15:12 ` si1356 at yahoo dot co dot uk
@ 2004-04-13 22:00 ` mikeu1969 at hotmail dot com
12 siblings, 0 replies; 14+ messages in thread
From: mikeu1969 at hotmail dot com @ 2004-04-13 22:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mikeu1969 at hotmail dot com 2004-04-13 21:20 -------
I gave up on building cross gcc suite with 3.3 (I am getting the same errors
when it is trying to build libstdc++). Just use 3.4, it is stable enough now.
Mike
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11890
^ permalink raw reply [flat|nested] 14+ messages in thread