Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 09:13:21 -0700
From:      Alex Arslan <ararslan@comcast.net>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Wrong OSABI for GCC from Ports
Message-ID:  <E3003E21-2D7B-4A13-8FE7-97EF5BE75D32@comcast.net>

next in thread | raw e-mail | index | archive | help
I noticed that GCC and its associated libraries, when installed from pkg
on FreeBSD 14.1 AArch64, have an OS/ABI value of NONE (0) rather than
FreeBSD (9), as reported by readelf --file-header. I also observed this
when cross compiling GCC for FreeBSD 13.2 AArch64 on Alpine Linux; I
assumed it was an issue with the cross compilation setup until I realized
that the one from pkg exhibited the same thing. This does not seem to
occur with x86_64, neither from pkg nor cross compiled. Does anyone know
why this would happen and whether it could be addressed with a patch to
GCC? Apologies if this is already known and has been discussed somewhere.

Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E3003E21-2D7B-4A13-8FE7-97EF5BE75D32>