ld fails under Solaris/i386

Jonathan Blanchard BlanchardJ at ieee.org
Fri Jan 15 18:53:43 CET 2010


On Fri, Jan 15, 2010 at 1:26 PM, Torbjorn Granlund <tg at gmplib.org> wrote:
> Marc Glisse <marc.glisse at inria.fr> writes:
>
>  I believe you are confusing the historical (gcc) behavior of
>  inline/extern inline with the current C99 behavior. What you are
>  describing is exactly what is currently happening with sunpro because
>  of extern inline. If we replace it with inline, the function will
>  never appear in .o files, it will either be inlined or not emitted at
>  all.
>
> I didn't know that's what the not-anymore-so-new standard says.
>
> --
> Torbjörn
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>

As a side note, I think that gcc 4.4.x defaults to the C99 inlining
while previous versions needed -std=c99 to explicitly enable the new
inline method.

Jonathan Blanchard


More information about the gmp-bugs mailing list