This is the mail archive of the gcc@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: Unexpected presence of __eprintf in libgcc.a when using newlib


> From: Andrew Pinski [mailto:pinskia@gmail.com]
> 
> I think your patch is broken since the object file (_eprintf.o) should
> not be pulled in unless it is used and it is part of an archive and
> for archives cause the linker to only bring in object files which have
> things referenced to them.

Indeed, and after spending more time on it it is clear that the culprit is a function in another library (and that function is needed unfortunately). So no problem with eprintf in libgcc.a after all, sorry for the noise.

Best regards,

Thomas



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