Port-arm archive

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

Re: netbsd-9 cross-buidl tools fail



On Sat, Apr 09, 2022 at 21:10:20 +0200, Hauke Fath wrote:

> Attempting a cross build of netbsd-9 on amd64 fails for me while 
> building the tools with
[...]
> ld: dtc-parser.lo:(.bss+0x0): multiple definition of `yylloc'; 
> dtc-lexer.lo:(.bss+0x0): first defined here
>
> Is this a known issue?

gcc 10 switched the default from -fcommon to -fno-common.  As a quick
and dirty kludge (if you need it to build now without taking a detour
into fixing it properly, as was outlined upthread) you can probably
(not tested) just set HOST_CC to 'cc -fcommon'

-uwe


Home | Main Index | Thread Index | Old Index