"make buildworld" fails with gcc34 on CURRENT.

Joerg Sonnenberger joerg at britannica.bec.de
Fri Aug 27 05:15:15 PDT 2004


On Thu, Aug 26, 2004 at 09:19:38AM -0700, Matthew Dillon wrote:
>     The GCC-3.4's optimizer removes code it thinks is not used, including
>     the linker-sets it thinks are unreferenced (but actually are).
>     I think FreeBSD found a solution to this but I haven't had time to
>     track it down.

This should work now, but I want to warn against doing -O2 with gcc34
at the moment. There are some places where this does generate bad code,
because -fstrict-alignment isn't fully supported by all of our code, yet.

Joerg

> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon at xxxxxxxxxxxxx>





More information about the Bugs mailing list