libnih -17 FTBFS on arm64 & armhf

Bug #1248677 reported by Dimitri John Ledkov on 2013-11-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.8 (Ubuntu)
High
Dimitri John Ledkov
Trusty
High
Dimitri John Ledkov
libnih (Ubuntu)
High
Dimitri John Ledkov
Trusty
High
Dimitri John Ledkov

Bug Description

 CCLD test_parse
/tmp/cccwVhQi.s: Assembler messages:
/tmp/cccwVhQi.s:273533: Error: conditional branch out of range
/tmp/cccwVhQi.s:273636: Error: conditional branch out of range
/tmp/cccwVhQi.s:273862: Error: conditional branch out of range
/tmp/cccwVhQi.s:273915: Error: conditional branch out of range
/tmp/cccwVhQi.s:273968: Error: conditional branch out of range

onwards.

Dimitri John Ledkov (xnox) wrote :
Changed in libnih (Ubuntu Trusty):
importance: Undecided → Critical
Changed in gcc-4.8 (Ubuntu Trusty):
importance: Undecided → High
Dimitri John Ledkov (xnox) wrote :
Changed in libnih (Ubuntu Trusty):
assignee: nobody → Dmitrijs Ledkovs (xnox)
Changed in gcc-4.8 (Ubuntu Trusty):
assignee: nobody → Matthias Klose (doko)
Changed in gcc-4.8 (Ubuntu Trusty):
status: New → Invalid
Changed in libnih (Ubuntu Trusty):
status: New → Fix Released
Dimitri John Ledkov (xnox) wrote :

And it's back again on armhf only. (arm64 is ok).

Are there any good ways to debug why gcc is producing conditional branch out of range?
Are there optimisations which reduce conditional branches?

Changed in libnih (Ubuntu Trusty):
status: Fix Released → Confirmed
Changed in gcc-4.8 (Ubuntu Trusty):
status: Invalid → Confirmed
assignee: Matthias Klose (doko) → Dmitrijs Ledkovs (xnox)
Changed in libnih (Ubuntu Trusty):
importance: Critical → High
Dimitri John Ledkov (xnox) wrote :

Splitting that translation unit in half, makes it compile.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libnih - 1.0.3-4ubuntu23

---------------
libnih (1.0.3-4ubuntu23) trusty; urgency=low

  * Split test_node.c into two translation units. (LP: #1248677)
 -- Dmitrijs Ledkovs <email address hidden> Mon, 11 Nov 2013 00:17:41 +0000

Changed in libnih (Ubuntu Trusty):
status: Confirmed → Fix Released
Steve Langasek (vorlon) on 2014-04-10
Changed in gcc-4.8 (Ubuntu Trusty):
status: Confirmed → Won't Fix
Matthias Klose (doko) wrote :

won't fix in gcc-4.8. please recheck if this is seen with 4.9

Changed in gcc-4.8 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers