Port-arm archive

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

Re: netbsd-9 failure





On 19/01/22 09:27, John Klos wrote:
cc -O -I/usr/src/tools/dtc/../../sys/external/bsd/libfdt/dist -I/usr/src/../tools/include -I/usr/src/../tools/include/nbinclude -I/usr/src/../tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/dtc/../../external/gpl2/dtc/usr.bin/dtc -I/usr/src/external/gpl2/dtc/dist -I/usr/src/sys/external/bsd/libfdt/dist -o dtc checks.lo data.lo dtc.lo flattree.lo fstree.lo livetree.lo srcpos.lo treesource.lo util.lo dtc-lexer.lo dtc-parser.lo -L/usr/src/../obj-evbarm/tools/libfdt -lfdt -L/usr/src/../tools/lib -lnbcompat -lrt -lz ld: dtc-parser.lo:(.bss+0x0): multiple definition of `yylloc'; dtc-lexer.lo:(.bss+0x0): first defined here

Really? Really, really?

I was fixing this exact failure in some Linux sources from 2014 on Sunday. Well I never.

It's fixed by jmcneill's edit to dtc-lexer.l 19 months ago, so I guess the edit just needs to be pulled up into the netbsd-9 branch.

I'm going to go out on a limb and guess that you are hosting this on a system with a recent GCC. GCC used to allow this sort of code, but not any more.

Cheers,
Lloyd




Home | Main Index | Thread Index | Old Index