FreeBSD 3.x

Krister Walfridsson cato@df.lth.se
Wed Jun 30 15:43:00 GMT 1999


On Sun, 6 Jun 1999, Marc Espie wrote:

> However, it took me quite a while to reproduce that specific bug.
> What does the netbsd compiler do that is different ?
> our specific flavor of egcs, under normal circumstances, does call the
> linker with -lgcc -lc -lgcc, so it picks up the version in libgcc.
> 
> Unless you manage not to get fixunsdfdi from libgcc, by either fiddling
> with the compiler building not to build a full libgcc, or by fiddling with
> the specs to link with libc first, you should always get the correct version.

NetBSD has traditionally fiddeled with libgcc, and excluded things already
living in libc (This has changed recently, so NetBSD too does the right
thing now.)

> As far as OpenBSD  goes, I don't know what to do with that bug-report yet.
> Not only is this fairly obscure, but with our current setup, the libc 
> flavor of these function is hardly ever called (only for other libc functions
> as far as I've found), so what use are they ?

They are there for historical reasons. You can remove them next time you
bump libc's major number...

   /Krister




More information about the Gcc mailing list