s390x build failure

Bug #1570894 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

poking s390x build failure:

Executing gtest-nuxgraphics under dummy xserver results in illigel instructions:

# .libs/gtest-nuxgraphics
[==========] Running 9 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 8 tests from TestTextures
[ RUN ] TestTextures.TestTextureSizes
Illegal instruction (core dumped)

Program received signal SIGILL, Illegal instruction.
0x000003fffdf2e53a in nux::NThreadSafeCounter::Increment (this=0x3fffdf53f2e <nux::SystemStart()::StaticBuffer+200>) at ThreadGNU.cpp:31
31 return __sync_add_and_fetch (&m_Counter, 1);
(gdb) backtrace full
#0 0x000003fffdf2e53a in nux::NThreadSafeCounter::Increment (this=0x3fffdf53f2e <nux::SystemStart()::StaticBuffer+200>) at ThreadGNU.cpp:31
No locals.

But there is nothing special in ThreadGNU.cpp:31 it simply does:

  int NThreadSafeCounter::Increment()
  {
    return __sync_add_and_fetch (&m_Counter, 1);
  }

Tags: patch s390x
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

A DEB_BUILD_OPTIONS=noopt build succeeds correctly, and all tests pass.

Revision history for this message
Matthias Klose (doko) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

work around for a first build

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nux - 4.0.8+16.04.20160209-0ubuntu2

---------------
nux (4.0.8+16.04.20160209-0ubuntu2) xenial; urgency=medium

  * Build without optimization on s390x for a first build. LP: #1570894.

 -- Matthias Klose <email address hidden> Sun, 17 Apr 2016 21:26:20 +0200

Changed in nux (Ubuntu):
status: New → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

However, an optimized build should succeed on s390x.

Changed in nux (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

builds

Changed in nux (Ubuntu):
status: Confirmed → Fix Released
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.