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

 
 

bug #39764: mxe-octave: cross llvm build

Submitter:  John Donoghue <lostbard>
Submitted:  Sun 11 Aug 2013 08:10:05 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  lostbard
Originator Name:  John Donoghue Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

No comments, so I will close :)

John Donoghue <lostbard>
Group Member
Wed 21 Aug 2013 11:39:54 PM UTC, comment #4: 

ok - done

John Donoghue <lostbard>
Group Member
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>
Group Member
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>
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>
Group Member

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by dac922 (Posted a comment)
  • -email is unavailable- added by lostbard (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-24 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2013-08-22 lostbard StatusNone Ready For Test
        Assigned toNone lostbard
    2013-08-20 lostbard Attached File- Added llvm.patch, #28889

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code