Bug #257
[gcc] systemd 196-2 check fails only with -mplt
0%
Description
The same when building the upstream systemd source at commit de892aea1c486b59e04884268b612081d1660514. Using gcc 4.7.2-2 and binutils 2.23.1-1.
Running a failing program, test-job-type, under gdb shows that somewhere in printf@plt a jump to the NULL address occurs.
Files
Related issues
History
Updated by mtjm over 11 years ago
Adding -mno-plt to CFLAGS makes only one test fail (previously four failed), with a different error (probably a real bug). Unless the package triggers some undefined behaviour, it might be a GCC bug. I don't know how to find if it really is one nor how to fix it.
Updated by fauno over 11 years ago
building with options=(!distcc !makeflags) and -mno-plt produced correct check() (though i didn't save the log :|)
Updated by fauno over 11 years ago
i'll build systemd-197 after the toolchain update (glibc-2.17, gcc-4.7.2)
Updated by lukeshu over 5 years ago
- Assignee set to lukeshu
There's no way this is still valid. Marking as fixed.