pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bzip 2 fails to build on IRIX 6.5



Am 09.09.2019 um 10:38 schrieb Mark Kirby:
> drool 1# /build/archivers/bzip2/work/.gcc/bin/gcc -v ... -Wl,-set_version -Wl,sgi1.0 ...

> COLLECT_LTO_WRAPPER=/opt/local/gcc-8.2.0/libexec/gcc/mips-sgi-irix6.5/8.2.0/lto-wrapper

What exactly does this LTO wrapper do? I don't know it, but maybe it has
to do with parsing the command line options.

>  /opt/local/gcc-8.2.0/libexec/gcc/mips-sgi-irix6.5/8.2.0/collect2 ... -set_version sgi1.0 ...

Looks fine to me.

> /opt/local/gcc-8.2.0/lib/gcc/mips-sgi-irix6.5/8.2.0/../../../../mips-sgi-irix6.5/bin/ld: sgi1.0: No such file: No such file or directory

It's getting closer. The collect2 command line looks ok, but the ld
command line is broken. Have a look at what collect2 does with its
arguments and how these get passed down to ld. Running "collect2 --help"
reveals that it has a -debug option, which sounds good.


Home | Main Index | Thread Index | Old Index