On a Debian jessie system, possibly due libscrypt.so thinking that the "log" function is undefined. (Running nm -D locate libscrypt.so.0`` confirms this.)
There's a config.log which shows this happening attached. (See line 4311.)
Nick thinks we need to add -lm to the compiler flags for the configure test.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
isis says this fails, with failures to find types for uintfoo_t and void*. Usually that means that we've added some compiler flag that stops building or linking entirely. Waiting on a config.log analysis to see what the issue was.
isis says this fails, with failures to find types for uintfoo_t and void*. Usually that means that we've added some compiler flag that stops building or linking entirely. Waiting on a config.log analysis to see what the issue was.
uggggggggggggggg. starting around line 7617 is where we see the problem: linking doesn't work because we try to include '-libscrypt' but not '-lm'.
bug19161_028 now has an extra fix to search for libm even harder.
All the AC_CHECK_SIZEOF checks are still failing due to not adding -lm, see attached config.log.2.tar.xz.
And fourteen pages of GNU Autoconf documentation later… I think I have a patch which fixes this so that libscript is linked in when available, and when it is linked in, if we do need -lm, then -lm is also added where needed. It's available in my bug19161_028branch, which is based on nickm's branch of the same name.
My patch works for me, but it'd be nice to know that it doesn't break things for anyone else.
Current plan: try to do my bug19161_028_v2 in 0.2.8 (since it's likely to require fewer rounds of break-and-test-and-fix), and something based on isis's bug19161_028 in 0.2.9 (since it's better).
Merging bug19161_028_v2 to 0.2.8. For 0.2.9, let's look more at isis's bug19161_028. I worry that as written it will add -lm even in places where it isn't needed. Also, the current approach adds -lscrypt in places where it isn't needed, which isn't good either. I'll make a separate ticket for that, however, so we can close this.
Trac: Actualpoints: 0.1 to 0.2 Resolution: N/Ato fixed Status: needs_review to closed