bugGNU Octave - Bugs: bug #39764, mxe-octave: cross llvm build

 
 

bug #39764: mxe-octave: cross llvm build

Submitted by:  John Donoghue <lostbard>
Submitted on:  Sun 11 Aug 2013 08:10:05 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: John DonoghueOpen/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.

 

Sat 24 Aug 2013 07:31:30 PM UTC, comment #5:

No comments, so I will close :)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 21 Aug 2013 11:39:54 PM UTC, comment #4:

ok - done

John Donoghue <lostbard>
Project MemberIn charge of this item.
Wed 21 Aug 2013 05:16:09 PM UTC, comment #3:

cross-build still doesn't work for me. The reason is, that octave configure looks for 'llvm-config' and not for '$(MXE_TOOL_PREFIX)llvm-config' (i686-pc-mingw32-llvm-config in my case)

So just changing the install file name in your patch should do the job.

Stefan Mahr <dac922>
Tue 20 Aug 2013 11:34:11 PM UTC, comment #2:

I can compile a a native llvm-config and ionstall it to build utils, however of course it reports that the libs paths etc should be in the same toot as the installed binary root rather than the host paths

(file #28889)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Mon 12 Aug 2013 01:53:12 AM UTC, comment #1:

I believe this is a side-effect of the update to 3.1. llvm-config used to be (perl?) script, but is not a regular executable. This is an annoyance when cross-compiling as you can't use llvm-config.exe anymore.

Michael Goffioul <goffioul>
Project Member
Sun 11 Aug 2013 08:10:05 PM UTC, original submission:

Maybe its just my system, but on my fedora 19 box, when building llvm as a cross build mingw in mxe-octave, it fails at the $(INSTALL) -m755 '$(HOST_BINDIR)/llvm-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)llvm-config'; (llvm.mk script)

Prior to this, llvm-config.exe was installed to PREFIX_BINDIR, which is obviously a windows executable, so shouldnt be in the BUILD_TOOLS folder anyway.

John Donoghue <lostbard>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28889:  llvm.patch added by lostbard (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dac922 (Posted a comment)
  • -unavailable- added by goffioul (Posted a comment)
  • -unavailable- added by lostbard (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
    Sat 24 Aug 2013 07:31:30 PM UTClostbardStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu 22 Aug 2013 10:34:16 AM UTClostbardStatusNone=>Ready For Test
      Assigned toNone=>lostbard
    Tue 20 Aug 2013 11:34:10 PM UTClostbardAttached File-=>Added llvm.patch, #28889

    Back to the top


    Powered by Savane 3.1-cleanup1