[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [MXE MinGW] miscompiled gcc for --enable64?
From: |
JohnD |
Subject: |
RE: [MXE MinGW] miscompiled gcc for --enable64? |
Date: |
Sun, 7 Dec 2014 16:26:08 -0500 |
-----Original Message-----
From: Philip Nienhuis [mailto:address@hidden
Sent: Sunday, December 07, 2014 3:34 PM
To: JohnD; address@hidden
Subject: Re: [MXE MinGW] miscompiled gcc for --enable64?
JohnD wrote:
> Date: Fri, 5 Dec 2014 14:58:02 -0800 (PST)
> From: Philip Nienhuis <address@hidden>
> To: address@hidden
> Subject: [MXE MinGW] miscompiled gcc for --enable64?
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> With a cross-built mxe-octave with 64-bit indexing (--enable64),
> building OF packages fails because g++, gcc and c++ all bail out with the
message:
>
> "C:\Programs\.....\bin\g++.exe is not a valid Win32 application."
> (of course, similarly for c++.exe and gcc.exe)
>
> In addition, cc.exe seems to be missing.
>
> Running these commands in an MSYS shell gives:
>
> address@hidden /c/programs/octave/octave64-3.9.0+-4.1.0+/bin
> $ gcc
> sh: ./gcc: Bad file number
> address@hidden /c/programs/octave/octave64-3.9.0+-4.1.0+/bin
> $ ls -l gcc
> -rwxr-xr-x 1 philip Administrators 0 Dec 5 21:02 gcc
>
> (funny, I'm not administrator but "user". Running MSYS as
> administrator doesn't make a difference though, I get the same issues)
>
> Can someone confirm this?
>
>
> __run_test_suite__ with 3.9.0+ (64bit indexing) gives:
> Summary:
>
> PASS 11562
> FAIL 12
> XFAIL 9
> SKIPPED 65
> (similar or equal to what I reported a few months ago on the task
> tracker (http://savannah.gnu.org/task/?13313).
>
>
> An older cross-built 64-bit indexing mingw Octave (Oct. 31; built on
> another
> machine) runs fine on the same box; gcc.exe, cc.exe, c++.exe and
> g++.exe yield meaningful messages.
>
>
> My build system: Mageia-4 64; mxe-octave: 8657bb199f09 tip @ (zeromq:
> update to v4.0.5)
> ./configure --enable-64 (and I've manually adapted octave.mk for
4.1.0+
> / 3.9.0+ checksums)
>
> Host system: Windows 7 Prof. 64-bit
>
<snip>
> -----
>
> I made a new mxe-build with --enable-windows-64 last night on my
> system (current mxe hg as of last night), but only using octave 3.8.2.
>
> Built on mint linux 17
> Running 64 bit running in Win 7 Prof - service pack 1 - 64bit
> PASS 11402
> FAIL 16
>
> Running build_packages.m from the gui compiles everything ok
That surprises me.
First of all, for me the patch from this bug report is needed to make a few
OF packages compile:
https://savannah.gnu.org/bugs/index.php?43318
(I'd appreciate if a core dev could review that patch, please)
But even with that patch, the following OF packages included in mxe-octave
won't install at all with --enable-64:
- image
- odepkg
- fl-core
- netcdf
Have you tried "pkg list" to see which packages do get installed
successfully?
As you've adapted build_packages.m to catch unsuccessful OF package installs
(thanks for that BTW!) it is easy to overlook packages that didn't get
installed.
<snip>
> I will retry with a later octave, however think it will run fine for me.
Now that I know that it is 7zip on the Windows side that doesn't unpack all
files correctly from .tgz or .tar.gz archives, I think so too :-)
Philip
---
Running octave 64 for me:
GNU Octave, version 3.8.2
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-w64-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
>> uname
ns =
scalar structure containing the fields:
sysname = MINGW32_NT-6.1
nodename = speedser
release = Windows 7
version = Service Pack 1
machine = x86_64
>> pkg list
Package Name | Version | Installation directory
---------------------+---------+-----------------------
actuarial | 1.1.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\actuarial-1.1.0
communications | 1.2.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\communications-1.2.0
control | 2.6.6 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\control-2.6.6
data-smoothing | 1.3.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\data-smoothing-1.3.0
dicom | 0.1.1 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\dicom-0.1.1
fits | 1.0.5 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\fits-1.0.5
fl-core | 1.0.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\fl-core-1.0.0
fuzzy-logic-toolkit | 0.4.5 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\fuzzy-logic-toolkit-0.
4.5
general | 1.3.4 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\general-1.3.4
geometry | 1.7.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\geometry-1.7.0
image | 2.2.2 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\image-2.2.2
io | 2.2.5 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\io-2.2.5
linear-algebra | 2.2.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\linear-algebra-2.2.0
ltfat | 2.0.1 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\ltfat-2.0.1
miscellaneous | 1.2.1 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\miscellaneous-1.2.1
netcdf | 1.0.5 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\netcdf-1.0.5
odepkg | 0.8.4 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\odepkg-0.8.4
optim | 1.4.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\optim-1.4.0
quaternion | 2.2.2 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\quaternion-2.2.2
signal | 1.3.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\signal-1.3.0
sockets | 1.0.8 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\sockets-1.0.8
specfun | 1.1.0 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\specfun-1.1.0
statistics | 1.2.3 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\statistics-1.2.3
struct | 1.0.10 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\struct-1.0.10
tsa | 4.2.7 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\tsa-4.2.7
windows | 1.2.1 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\windows-1.2.1
zenity | 0.5.7 |
C:\Octave\octave64\octave-3.8.2\share\octave\packages\zenity-0.5.7
>>
I have been untaring using a local copy of mingw/msys and then running the
normal octave.bat.
- [MXE MinGW] miscompiled gcc for --enable64?, Philip Nienhuis, 2014/12/05
- [MXE MinGW] miscompiled gcc for --enable64?, JohnD, 2014/12/07
- Re: [MXE MinGW] miscompiled gcc for --enable64?, John Donoghue, 2014/12/07
- Fwd: Re: [MXE MinGW] miscompiled gcc for --enable64?, Philip Nienhuis, 2014/12/09
- Fwd: RE: [MXE MinGW] miscompiled gcc for --enable64?, Philip Nienhuis, 2014/12/09
- RE: RE: [MXE MinGW] miscompiled gcc for --enable64?, JohnD, 2014/12/09
- Re: [MXE MinGW] miscompiled gcc for --enable64?, Philip Nienhuis, 2014/12/09
- RE: [MXE MinGW] miscompiled gcc for --enable64?, JohnD, 2014/12/09
- Re: [MXE MinGW] miscompiled gcc for --enable64?, Philip Nienhuis, 2014/12/10
- RE: [MXE MinGW] miscompiled gcc for --enable64?, JohnD, 2014/12/10