Comment 5 for bug 778292

Revision history for this message
In , Krisztian-kocsis-0 (krisztian-kocsis-0) wrote :

Created attachment 25250
Verbose linker output.

When I try to build udev with gcc-4.6.1, the accelerometer module fails to link because of undefined references to sqrt, atan, etc. Unfortunately -lm is explicitly specified. If I remove -flto or -Wl,--as-needed, the module links successfully.

Verbose linker output is attached.