s390x build failure

Bug #1570894 reported by Dimitri John Ledkov on 2016-04-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nux (Ubuntu)

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

Dimitri John Ledkov (xnox) wrote :
Dimitri John Ledkov (xnox) wrote :

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

Matthias Klose (doko) wrote :
Matthias Klose (doko) wrote :

work around for a first build

tags: added: patch
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
Dimitri John Ledkov (xnox) wrote :

However, an optimized build should succeed on s390x.

Changed in nux (Ubuntu):
status: Fix Released → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments