This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++ 3.0.2 build on HP-UX 11.00


I've downloaded gcc-3.0.2 and made a successfull build on HP-UX 11.00 using
this:

#!/usr/bin/sh

export CONFIG_SITE=
export CC=cc
export PATH=.:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/ansic/bin:/usr/sbin:/etc:/sbin:/usr/lib:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/java/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/perf/bin:/opt/imake/bin:/opt/hpnp/bin:/opt/xftp/bin/X11:/usr/sbin/stm/uut/bin/progs:/pro/tu/bin:/pro/local/MySQL/bin:/wrk/GNUpro/bin
rm -rf obj
mkdir obj
cd obj
../src/configure \
    --enable-languages=gcc \
    --prefix=/pro/local --with-local-prefix=/pro/local \
    --without-gnu-as \
    --without-gnu-ld \
    --disable-shared \
    --disable-nls


echo "Changing obj/gcc/Makefile"
echo " ... 'tail +16c' to 'head -c -n4' in compare-lean"
echo " ... add '/pro/local/lib/libgcc.a' to LIBS"
perl -pi -e 'm:^LIBS\s*=:&&s:$: /pro/local/lib/libgcc.a:;s:\btail \+\d+c\b:head -c -n4:g' gcc/Makefile

make CFLAGS='-O -Wa,+DA2.0' \
     LIBCFLAGS='-O2 -Wa,+DA2.0' \
     LIBCXXFLAGS='-O2 -Wa,+DA2.0 -fno-implicit-templates' \
     bootstrap-lean

Now if I change '--languages=gcc' to '--languages=gcc,c++' I keep getting
stuck in the report added below, even after changing the Makefiles from '-Wall'
to '-Wall -mpa-risc-2-0 -D_PA_RISC_2_0' and '-O' to '-Wa,+DA2.0 -O' (except
where -O is followed by 0 like in -O0). At this moment, I don't realy care
that I do not have debugging with -g. I *do* have gas (latest) available, but
I do not want to use it (yet). Again: the plain gcc build is perfect, except
for loads of warnings.

/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+ -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3gl
/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hpp
a2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/lo
cal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../../
../../src/libstdc++-v3/../include -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux1
1.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/obj/hpp
a2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++
 -g -Wa,+DA2.0 -O2 -fno-implicit-templates -mpa-risc-2-0 -D_PA_RISC2_0 -Wall -Wn
o-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../.
./../../src/libstdc++-v3/libsupc++/eh_alloc.cc
cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.
/bin/sh ../libtool --tag CXX --tag disable-shared                --mode=compile
/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+  -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3g
l/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hp
pa2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/l
ocal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../..
/../../src/libstdc++-v3/../include      -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp
-hpux11.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/o
bj/hppa2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/lib
supc++           -g -Wa,+DA2.0 -O2 -fno-implicit-templates              -mpa-ris
c-2-0 -D_PA_RISC2_0 -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics
-show-location=once             -g    -c ../../../../src/libstdc++-v3/libsupc++/
eh_aux_runtime.cc
/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+ -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3gl
/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hpp
a2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/lo
cal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../../
../../src/libstdc++-v3/../include -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux1
1.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/obj/hpp
a2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++
 -g -Wa,+DA2.0 -O2 -fno-implicit-templates -mpa-risc-2-0 -D_PA_RISC2_0 -Wall -Wn
o-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../.
./../../src/libstdc++-v3/libsupc++/eh_aux_runtime.cc
cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.
as: error 7403: undefined label - _ZTVN10__cxxabiv120__si_class_type_infoE (7403
)
make[4]: *** [eh_aux_runtime.lo] Error 1
make[4]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj'
make: *** [bootstrap-lean] Error 2
a5:/pro/3gl/GNU/gcc-3.0.2 157 >


/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+ -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3gl
/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hpp
a2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/lo
cal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../../
../../src/libstdc++-v3/../include -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux1
1.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/obj/hpp
a2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++
 -g -Wa,+DA2.0 -O2 -fno-implicit-templates -mpa-risc-2-0 -D_PA_RISC2_0 -Wall -Wn
o-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../.
./../../src/libstdc++-v3/libsupc++/eh_alloc.cc
cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.
/bin/sh ../libtool --tag CXX --tag disable-shared                --mode=compile
/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+  -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3g
l/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hp
pa2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/l
ocal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../..
/../../src/libstdc++-v3/../include      -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp
-hpux11.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/o
bj/hppa2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/lib
supc++           -g -Wa,+DA2.0 -O2 -fno-implicit-templates              -mpa-ris
c-2-0 -D_PA_RISC2_0 -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics
-show-location=once             -g    -c ../../../../src/libstdc++-v3/libsupc++/
eh_aux_runtime.cc
/pro/3gl/GNU/gcc-3.0.2/obj/gcc/xgcc -B/pro/3gl/GNU/gcc-3.0.2/obj/gcc/ -nostdinc+
+ -L/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src -L/pro/3gl
/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs -B/pro/local/hpp
a2.0w-hp-hpux11.00/bin/ -B/pro/local/hppa2.0w-hp-hpux11.00/lib/ -isystem /pro/lo
cal/hppa2.0w-hp-hpux11.00/include -I../../../../src/libstdc++-v3/../gcc -I../../
../../src/libstdc++-v3/../include -I/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux1
1.00/libstdc++-v3/include/hppa2.0w-hp-hpux11.00 -I/pro/3gl/GNU/gcc-3.0.2/obj/hpp
a2.0w-hp-hpux11.00/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++
 -g -Wa,+DA2.0 -O2 -fno-implicit-templates -mpa-risc-2-0 -D_PA_RISC2_0 -Wall -Wn
o-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c ../.
./../../src/libstdc++-v3/libsupc++/eh_aux_runtime.cc
cc1plus: warning: -g is only supported when using GAS on this processor,
cc1plus: warning: -g option disabled.
as: error 7403: undefined label - _ZTVN10__cxxabiv120__si_class_type_infoE (7403
)
make[4]: *** [eh_aux_runtime.lo] Error 1
make[4]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj/hppa2.0w-hp-hpux11.00/lib
stdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/pro/3gl/GNU/gcc-3.0.2/obj'
make: *** [bootstrap-lean] Error 2
a5:/pro/3gl/GNU/gcc-3.0.2 157 >

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.2 & 629 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]