A hard to duplicate bug
Nick Clifton
nickc@redhat.com
Tue Mar 16 15:25:06 GMT 2021
Hi Gary,
> I've been trying to debug a linker error (which I thought was a bug in
> my optimization.)
Are you sure that this is a linker error ?
> Finally here linker's part of the x264 build output:
> /home/gary/gcc_virgin_build/install/lib/gcc/x86_64-pc-linux-gnu/11.0.1/../../../../x86_64-pc-linux-gnu/bin/ld: ldecod_src/config_common.o:(.bss+0x0): multiple definition of `cfgparams'; ldecod_src/configfile.o:(.bss+0x0): first defined here
So the linker is telling you that cfgparams is defined in both
config_common.o and configfile.o, which I assume is a problem
with your sources...
Cheers
Nick
More information about the Binutils
mailing list