This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-980221: build fails for shared libstdc++ on HP-UX 10.20
- To: egcs-bugs at cygnus dot com
- Subject: egcs-980221: build fails for shared libstdc++ on HP-UX 10.20
- From: Graham Hudspith <geordie at lucent dot com>
- Date: Tue, 24 Feb 1998 11:28:15 +0000
- Organization: Lucent Technologies
- Original-From: Graham Hudspith <ghudspit@mltsa.uk.lucent.com>
Dear EGCS Maintainers,
For the last few snapshots, I have not been able to build
egcs on HP-UX 10.20, with the build failing for a shared
version of libstdc++. I've held off from reporting this,
expecting many other similar bug reports to have been sent
in by others. Since this does not appear to be happening,
here goes ...
Config.status is:
./configure --host=hppa1.1-hp-hpux10.20 \
--prefix=/apps/gcc/egcs1.0 --with-gnu-as \
--enable-shared --norecursion
'GNU as' used is v2.8.1, 'GNU sed' used is v2.05.
After configuring, I manually edit gcc/Makefile to set the
LANGUAGES to 'c gcov c++' (although I could pass LANGUAGES
in on the 'make bootstrap' command line).
After building stage1, stage2 and stage3 (?) of the compilers,
the build fails during the libraries:
mv tlist stdlist
rm -f tlibstdc++.a
ar rc tlibstdc++.a `cat stdlist`
mv tlibstdc++.a libstdc++.a
true libstdc++.a
rm -f tlist
cp stdlist tlist
if [ x"yes" = xyes ]; then \
sed 's,\([A-Za-z_]*\.o\),pic/\1,g' tlist > tlist2 ; \
mv tlist2 tlist ; \
else true ; fi
mv tlist piclist
/home/gnusrc/egcs-980221-hpux10/gcc/xgcc
-B/home/gnusrc/egcs-980221-hpux10/gcc/ -g -O2 -fno-implicit-templates
-shared -o libstdc++.sl `cat piclist`
/usr/ccs/bin/ld: DP relative code in file pic/cstrmain.o - shared
library must be position
independent. Use +z or +Z to recompile.
collect2: ld returned 1 exit status
I have a full 'nohup.out' file, if this is on any interest?
Graham.
--
Graham Hudspith, Transmission Dev Group, | Email:
graham.hudspith@lucent.com
Lucent Technologies Network Systems (UK),|
Swindon Road, Malmesbury, |
Wiltshire SN16 9NA, UK. | Phone: +44 1666 832372/822861