This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix libgo build (was Re: [PATCH v3] PR85678: Change default to -fno-common)


Hi Rainer,

>> ld: warning: symbol 'err' has differing types:
>>          (file /var/tmp//ccWQCyMc.o type=OBJT; file /lib/libc.so type=FUNC);
>>          /var/tmp//ccWQCyMc.o definition taken

So are glob and err somehow exported as globals by your GLIBC? I don't think those
are standard functions... It's odd the linker didn't give the warning when the mismatch
was on a common data symbol - in both cases you have a function/data mismatch.

Wilco






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]