pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/44547: pkgsrc build failure for g95 on NetBSD/cobalt
The following reply was made to PR pkg/44547; it has been noted by GNATS.
From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/44547: pkgsrc build failure for g95 on NetBSD/cobalt
Date: Sat, 1 Oct 2016 01:07:46 +0000
I've tested with gcc -mips1 -mabi=32 test.c
using same function as in the g95 code.
I get the problem without the fix, and adding the patch fixes the build
issue for this isolated example.
However, I cannot complete the build of lang/g95:
/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/gcc/../../gcc/libgcc2.c:218:(.text+0x74): relocation truncated to fit: R_MIPS_CALL16 against `abort'
/usr/bin/ld: not enough GOT space for local GOT entries
/usr/bin/ld: BFD (NetBSD Binutils nb1) 2.23.2 internal error, aborting at /usr/src/external/gpl3/binutils.old/dist/bfd/elfxx-mips.c line 9694 in _bfd_mips_elf_relocate_section
/usr/bin/ld: Please report this bug.
So, I can't confirm it builds fine on o32 for netbsd-5.1.
I can say it doesn't build for n32 on netbsd-7.99.39 for entirely different issues
that would be best discussed in a toolchain bug report.
But the original error described here was resolved by the patch.
Home |
Main Index |
Thread Index |
Old Index