bugGNU Octave - Bugs: bug #49822, MXE: dev build fails with various...

 
 

bug #49822: MXE: dev build fails with various compiler errors

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Sat 10 Dec 2016 06:09:57 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Philip NienhuisOpen/Closed: Closed
Release: devOperating System: Other

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)

Tue 13 Dec 2016 08:19:28 PM UTC, comment #7:

Yes works fine, thanks for the fix.

Closing report

Philip Nienhuis <philipnienhuis>
Project Member
Tue 13 Dec 2016 12:57:54 PM UTC, comment #6:

Pushed http://hg.savannah.gnu.org/hgweb/octave/rev/7cf0b9654d44

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 12 Dec 2016 09:52:18 PM UTC, comment #5:

I haven't built to test it yet, but this will probably fix it

(file #39205)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 12 Dec 2016 09:29:59 PM UTC, comment #4:

It looks like its a part of the native built cross tools, which don't get built for anything except mxe.

I'll take a look

I believe they only get build it the --enable-binary-packages is set in mxe, which in turn enables --enable-cross-tools in octave's configure.

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 12 Dec 2016 05:21:13 PM UTC, comment #3:

So it is an MXE problem, it is the cross-build that breaks.
I'll cc JohnD

Thx

Philip Nienhuis <philipnienhuis>
Project Member
Mon 12 Dec 2016 06:09:17 AM UTC, comment #2:

The C++ compiler you are using is using C++98 rather than the C++11 standard which is required now. That's the immediate cause of the problem. I thought there was some logic in configure to add the C++11 flag to the compiler, but maybe there isn't or it doesn't work with the MXE environment.

Rik <rik5>
Project Administrator
Sat 10 Dec 2016 06:11:04 PM UTC, comment #1:

For completeness:
revision 3c0e70e2f51c: "maint: Periodic merge of stable to default"

Philip Nienhuis <philipnienhuis>
Project Member
Sat 10 Dec 2016 06:09:57 PM UTC, original submission:

Since a few days, cross-building 4.3.0+ fails with several compiler warnings. I waited a few days with reporting in the hope that it would be straightened out by new commits (which often happens) but I think this is more serious.

Philip Nienhuis <philipnienhuis>
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 #39205:  crossgcc.patch added by lostbard (682B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by philipnienhuis
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by philipnienhuis (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 Dec 2016 08:19:28 PM UTCphilipnienhuisStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Tue 13 Dec 2016 01:20:19 PM UTClostbardStatusNone=>Ready For Test
      Assigned toNone=>lostbard
    Mon 12 Dec 2016 09:52:18 PM UTClostbardAttached File-=>Added crossgcc.patch, #39205
    Mon 12 Dec 2016 05:21:13 PM UTCphilipnienhuisCarbon-Copy-=>Added lostbard

    Back to the top


    Powered by Savane 3.1-cleanup1