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]

egcs-980221: build fails for shared libstdc++ on HP-UX 10.20


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


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