Project

General

Profile

Bug #257

[gcc] systemd 196-2 check fails only with -mplt

mtjm - over 11 years ago - . Updated over 5 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

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

Related to Ports - Bug #292: [systemd] journal-stream test fails on 197-1not-a-bug

Actions

History

#2

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.

#3

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 :|)

#4

Updated by mtjm over 11 years ago

Renamed since it's probably not a systemd bug.

#5

Updated by fauno over 11 years ago

i'll build systemd-197 after the toolchain update (glibc-2.17, gcc-4.7.2)

#6

Updated by Anonymous almost 8 years ago

  • Project changed from 3 to Ports
#7

Updated by lukeshu over 5 years ago

  • Assignee set to lukeshu

There's no way this is still valid. Marking as fixed.

#8

Updated by lukeshu over 5 years ago

  • Status changed from open to fixed

Also available in: Atom PDF