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]
Other format: [Raw text]

[Bug bootstrap/13655] New: ranlib is needed on HP-UX 11.11 - error in mh-unix


In config/mh-hpux variable RANLIB is set to true to indicate that it is not 
needed. On HP-UX 11.11 using gcc 3.3 to compile gcc 3.3.2 and ar from binutils 
2.14 this doesn't work. ld complains about an invalid magic number. Ranlib 
exists on this system (/bin/ranlib) and is necessary to run. 

Configure indicates that ranlib is found (Output: "checking for ranlib ... 
ranlib"), but mh-frag overwrites it by "true". I can't understand why this is 
done, because configure is usally the program to determine wether ranlib exists 
or not.

If it's important wether running ranlib is necessary or not, I like to 
recommend to drop a line about this task in the INSTALL help. It took me a very 
long time to find this error because google find a large number of pages 
for "invalid magic number error: probably 64 bit library" - but no hint 
concerning ranlib...

-- 
           Summary: ranlib is needed on HP-UX 11.11 - error in mh-unix
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: carsten dot traebing at de dot ina dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: hppa2.0w-hp-hpux11.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13655


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