bugGNU Octave - Bugs: bug #48786, Can't build MXE-Octave

 
 

bug #48786: Can't build MXE-Octave

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sun 14 Aug 2016 09:14:55 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: AvinoamOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sun 28 Aug 2016 07:36:56 PM UTC, comment #12:

Confirmed. Closing report.

Avinoam Kalma <avinoam>
Project Member
Sun 28 Aug 2016 03:42:29 PM UTC, comment #11:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/1442ae783e1f

It seems to fix the problem for me. Can someone confirm and close this report?

John W. Eaton <jwe>
Project Administrator
Sun 21 Aug 2016 07:37:26 PM UTC, comment #10:

@Philip, comment #5: rebuilding everything from scratch with thread lib change results in compiled working packages for me.

It may be that whatever made the change to what libraries are linked against made it incompatible with older compiles.

John Donoghue <lostbard>
Project Member
Thu 18 Aug 2016 07:07:44 PM UTC, comment #9:

Redone compare to make sure I used the correct versions, and no other patches.

Oly change between the 2 compile attempts is the changeset position:

doesnt work 22234: allow configure to select Qt version

does work 22233: don't use -Wshadow for GCC 4

Diff between the working vs non working compile line:

So the working version was including libgomp.dll.a, -lmingwthrd, -lpthread, but no longer is.

In the configure when worked:

And not working:

John Donoghue <lostbard>
Project Member
Wed 17 Aug 2016 06:51:55 PM UTC, comment #8:

Even with gomp installed, it fails the same way.

Looking at the command that fails on a octave version that worked vs does not work (some spaces added between parts of the command to make easier to read):

Worked version:

Doesn't work version:

Diffing the 2 output above:

John Donoghue <lostbard>
Project Member
Wed 17 Aug 2016 05:04:14 PM UTC, comment #7:

In mxe, it doesn't look like gomp is a dependant of default-octave, so maybe isn't being built before octave is.

I will try a build with gomp installed to see if that compiles vs not on a new build.

John Donoghue <lostbard>
Project Member
Wed 17 Aug 2016 11:59:26 AM UTC, comment #6:

On a failed build:

So pthread is there, but I don't see openmp in the log.

John Donoghue <lostbard>
Project Member
Wed 17 Aug 2016 11:17:01 AM UTC, comment #5:

Perhaps a red herring here, but I find that cross-built OF packages with binary modules all seem to be miscompiled. Any attempt to invoke an .oct file leads to a hard crash.

Reinstalling those OF packages with the -forge flag leads to functional and well-performing OF packages.

Based on dev Octave + mxe-octave updated to 15 aug evening (CET), mxe-octave with JohnD's -lpthread fix.

Philip Nienhuis <philipnienhuis>
Project Member
Wed 17 Aug 2016 04:05:19 AM UTC, comment #4:

Part of config.log on the revision where build is in failure

And final configure output is :

Archived full config.log is attached.

(file #38238)

Tatsuro MATSUOKA <tmacchant>
Tue 16 Aug 2016 11:19:47 PM UTC, comment #3:

May have something to do with the interaction between the cross-build environment setup and the XTRA_CFLAGS / XTRA_CXXFLAGS environment variables.

I have an mxe-octave build from several months ago that contains this in the log file:

Are the -pthread and -fopenmp options missing now?

Mike Miller <mtmiller>
Project Administrator
Tue 16 Aug 2016 03:08:24 PM UTC, comment #2:

Not the fix, but I can default to compile again by this change in mxe-octave:

John Donoghue <lostbard>
Project Member
Mon 15 Aug 2016 09:06:18 PM UTC, comment #1:

Build breaks at changeset 22234:66dd260512a4 : allow configure to select Qt version

John Donoghue <lostbard>
Project Member
Sun 14 Aug 2016 09:14:55 PM UTC, original submission:

see "(mxe-octave) build failure default branch (1c840b2fd337)" http://lists.gnu.org/archive/html/octave-maintainers/2016-08/msg00127.html

Avinoam Kalma <avinoam>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #38238:  config.log.bz2 added by tmacchant (119KiB - application/x-bzip)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by tmacchant (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by avinoam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Aug 2016 07:36:56 PM UTCavinoamStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 28 Aug 2016 03:42:29 PM UTCjweStatusConfirmed=>Ready For Test
    Wed 17 Aug 2016 04:05:19 AM UTCtmacchantAttached File-=>Added config.log.bz2, #38238
    Tue 16 Aug 2016 11:15:33 PM UTCmtmillerDependencies-=>bugs #48803 is dependent

    Back to the top


    Powered by Savane 3.1-cleanup1