🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6415

More problems with GNU GCC once again

#6415
From: asmyth
Date: Tue, 28 Nov 1995 00:00
54 lines
2379 bytes
My previous message:  "I had problems getting a clean compile of gcc-2.7.0 on 
an HP 9000/800 series running HP-UX 9.04.  Someone responsed to the message 
advising me to use GAS instead of the HP assembler (by the way, thankyou very 
much for the suggestion!)  I downloaded GAS-2.5 from the 
prep.ai.mit.edu/pub/gnu site, ran ./configure and make creating as.new. copied 
as.new to my gcc build directory and ran ./configure --with-gnu-as (the output 
of configure gave me no indication that it was using the GAS 'as' file).  I 
then ran make LANGUAGES='c' and recieved the following output:

rm -f cpp
ln cccp cpp > /dev/null 2>&1 \
|| cp cccp cpp
./genattr ./config/pa/pa.md > tmp-attr.h 
sh: ./genattr: cannot execute
*** Error code 1

Stop."

----------------------------------------------------------------------------- 
It was suggested that I add execute permission to genattr (Thankyou Shaheen). 
After chmod +x genattr:

 make LANGUAGES='c'
        rm -f cpp
        ln cccp cpp > /dev/null 2>&1 \
         || cp cccp cpp
        ./genattr ./config/pa/pa.md > tmp-attr.h
/lib/dld.sl: Unresolved symbol: __main (code)  from ./genattr 
sh: 25148 abort - core dumped
*** Error code 134

Stop.

Also, it was suggested that I look at "chatr genattr" (Thankyou Jeff)

$ chatr genattr
genattr:
         shared executable
         shared library dynamic path search:
             SHLIB_PATH     disabled   second
             embedded path  disabled  first  Not Defined
         shared library list:
             static    genattr
             dynamic   /lib/libc.sl
         shared library binding:
             deferred
$
I added SHLIB_PATH='/lib' to my .profile and typed "chatr +s enable genattr" so 
that now SHLIB_PATH is "enabled   second".  I still received the same error 
message from  make LANGUAGES='c' as above.

Please let me know if you have any suggestions.

email  asmyth@warren.med.harvard.edu
Technical Details
Message-ID: <0bb40290@warren.med.harvard.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,68c46eeb2910621c,start
X-Google-Attributes: gid113d02,public
From: asmyth@warren.med.harvard.edu
Subject: More problems with GNU GCC once again
Date: 1995/11/28
Message-ID: <0bb40290@warren.med.harvard.edu>
X-Deja-AN: 120326610
distribution: gnu
sender: daemon@cis.ohio-state.edu
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug