[cfarm-users] Some issues with cfarm215

Jonathan Wakely jwakely.gcc at gmail.com
Thu Jan 22 09:47:25 CET 2026


On Thu, 22 Jan 2026, 08:45 Jonathan Wakely, <jwakely.gcc at gmail.com> wrote:

>
>
> On Thu, 22 Jan 2026, 06:09 Peter Gutmann via cfarm-users, <
> cfarm-users at lists.tetaneutral.net> wrote:
>
>> mirabilos via cfarm-users <cfarm-users at lists.tetaneutral.net> writes:
>>
>> >It is but of course the -Wl,… flags are linker-specific and you must use
>> >Solaris’ syntax on Solaris, when not compiled for GNU ld.
>>
>
> Right, -Wl,xxx works fine, passing xxx directly to the linker. If the
> linker is GNU ld then you need to use flags that GNU ld understands, and if
> the linker is Solaris ld then you need to use flags that Solaris ld
> understands.
>
> There's nothing "inappropriate" about this setup.
>
>
>> Mixing different sets of tools leads to weird inconsistencies in the build
>> process though because having (say) gcc present implies GNU ld,
>
>
>
> No it doesn't, that's a bad assumption.
>
> except that in
>> this case it's not, it's Sun's ld.
>
>
> That's the recommended way to configure GCC on Solaris:
> https://gcc.gnu.org/install/specific.html#x-x-solaris2
>
>
>   Or at least it's someone's ld, there's no
>> easy way to tell from a build script.  It's also Sun's make, which means
>> having to feature-test each component you're using to try and figure out
>> which
>> options work with it.
>>
>
> Isn't that the point of testing on different operating systems? If you
> want everything to be GNU binutils and GNU Make, don't use other operating
> systems.
>

Or just use 'gmake' instead of 'make'. I think 'gld' might work on Solaris
to give you the GNU linker but I can't check right now.



>
>
>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20260122/db8849a0/attachment.htm>


More information about the cfarm-users mailing list