libnih -17 FTBFS on arm64 & armhf

Bug #1248677 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-4.8 (Ubuntu)
Won't Fix
High
Dimitri John Ledkov
Trusty
Won't Fix
High
Dimitri John Ledkov
libnih (Ubuntu)
Fix Released
High
Dimitri John Ledkov
Trusty
Fix Released
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.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in libnih (Ubuntu Trusty):
importance: Undecided → Critical
Changed in gcc-4.8 (Ubuntu Trusty):
importance: Undecided → High
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Splitting that translation unit in half, makes it compile.

Revision history for this message
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)
Changed in gcc-4.8 (Ubuntu Trusty):
status: Confirmed → Won't Fix
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.