pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: remove coyim?
On Wed, Aug 7, 2024 at 11:12 AM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> On Wed, 7 Aug 2024 at 05:40, Santhosh Raju <fox%netbsd.org@localhost> wrote:
> >
> > On Tue, Aug 6, 2024 at 8:08 PM nia <nia%netbsd.org@localhost> wrote:
> > >
> > > It's been broken for ages now. It's not clear to me if people
> > > trying to fix it months ago were doing so because they use it
> > > or for other reasons.
> > >
> >
> > I could not make coyim to link successfully for versions beyond 0.3.11
> > in NetBSD,
> >
> > I always got the following error during link
> >
> > github.com/coyim/coyim
> > # github.com/coyim/coyim
> > /usr/pkg/go120/pkg/tool/netbsd_amd64/link: running gcc failed: exit status 1
> > /tmp/go-link-3181332492/000000.o: file not recognized: file format not
> > recognized
>
> FWIW on -current amd64, go121, I get:
>
> ....
> # github.com/coyim/coyim
> /usr/pkg/go122/pkg/tool/netbsd_amd64/link: running gcc failed: exit status 1
> ld: /usr/lib/libm.so.0: warning: warning: reference to compatibility cabs()
> ld: /usr/lib/libm.so.0: warning: warning: reference to compatibility cabsf()
> ld: /tmp/go-link-3649917547/go.o: warning: relocation in read-only
> section `.gopclntab'
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x100): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x110): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x120): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x130): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x140): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> /tmp/go-link-3649917547/000000.o:(.rsrc+0x150): dangerous relocation:
> R_AMD64_IMAGEBASE with __ImageBase undefined
> ld: warning: creating DT_TEXTREL in a PIE
>
> *** Error code 1
> .....
>
I had not bothered to check the build in -CURRENT since it was similar
to the on in the RELEASE versions but after looking at your build
output I also ran my build in -CURRENT and got the following
# github.com/coyim/coyim
/usr/pkg/go122/pkg/tool/netbsd_amd64/link: running gcc failed: exit status 4
ld: /usr/pkgsrc-current/chat/coyim/work/.buildlink/lib/libgio-2.0.so:
warning: warning: reference to compatibility __kevent50(); use
kevent()
ld: /usr/lib/libm.so.0: warning: warning: reference to compatibility cabs()
ld: /usr/lib/libm.so.0: warning: warning: reference to compatibility cabsf()
ld: /tmp/go-link-836930588/go.o: warning: relocation in read-only
section `.gopclntab'
ld: BFD (NetBSD Binutils nb1) 2.39 assertion fail
/usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/reloc.c:8560
/tmp/go-link-836930588/000000.o:(.rsrc+0x100): dangerous relocation:
gcc: internal compiler error: Segmentation fault signal terminated
program ld
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** Error code 1
This is my uname -a output
NetBSD netbsd-current 10.99.11 NetBSD 10.99.11 (GENERIC) #0: Sat Jun
29 18:44:36 UTC 2024
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC
amd64
Running the build in NetBSD-10.0 gives me the same old " file format
not recognized" error.
> which seems a bit more informative to me. I am building it at the
> moment with pkgsrc under aarch64 ubuntu 24.04LTS, just for the sake of
> the test.
>
Any luck with these builds? Especially Ubuntu 24.04 LTS?
--
Santhosh
Home |
Main Index |
Thread Index |
Old Index