[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mxe-octave cross-build errors when building native-gcc
From: |
PhilipNienhuis |
Subject: |
Re: mxe-octave cross-build errors when building native-gcc |
Date: |
Mon, 3 Mar 2014 06:08:59 -0800 (PST) |
John Donoghue-2 wrote
> Message: 3
> Date: Sun, 2 Mar 2014 14:41:30 -0800 (PST)
> From: PhilipNienhuis <
> pr.nienhuis@
> >
> To:
> octave-maintainers@
> Subject: mxe-octave cross-build errors when building native-gcc
> Message-ID: <
> address@hidden
>>
> Content-Type: text/plain; charset=UTF-8
>
> With mxe-octave
>
> (hg summary:
> parent: 3556:22b42ac3fd68 tip
> native-gcc: remove unintended changes to native-gcc.mk from cs
> b1ca68ddd02c)
>
> the cross-build consistently stops at native-gcc with (from the log):
>
> :
> g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti
> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
> -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H
> -DGENERATOR_FILE -I. -Ibuild
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/build
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/../in
> clude
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/../li
> bcpp/include
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/../li
> bdecnumber
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/../li
> bdecnumber/bid
> -I../libdecnumber
> -I/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/../li
> bbacktrace
> -DCLOOG_INT_GMP \
> -o build/genenums.o
> /home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2/gcc/genenum
> s.c
> <snip>
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/philip/devel/octdev/mxe/mxe201403/tmp-native-gcc/gcc-4.8.2.build'
> make[1]: *** [build-only-native-gcc] Error 2
> make[1]: Leaving directory `/home/philip/devel/octdev/mxe/mxe201403'
>
> Philip
>
>
> ----
> I get the same trying to cross compile on my Fedora 20 machine, what OS
> are
> you using?
Mageia 2, 32 bit (Linux).
> Attached patch makes it compile for me.
> I looks to me that it is trying to pull in some system includes instead of
> the mxe build ones, but I couldn't get it to not do that except by
> compiling
> with mpc, mprf etc copied into the gcc build as per the patch.
>
> The other thing needed (on my system as least) has been to copy libgcc.a
> to
> the lib folder when making the dist (Not included in this patch) in order
> for gcc to compile programs when installed.
Right, I'll have a look but not soon :-(
I also didn't manage to get gl2ps included in the build (reported earlier);
checking the various related files didn't yield any clues why.
Now, based on your analysis of native-gcc behavior, it occurs to me that I
do not have gl2ps installed on that Mageia system itself, so I'm wondering
if similar mechanisms occur as with native-gcc (i.e., mxe is trying to pull
in gl2ps stuff from the host build system but fails as it isn't there in my
case). A check could be installing gl2ps on Mageia and then rebuilding
mxe-octave with my "old" mxe-octave build chain.
Unfortunately I have very little time until mid-March. Hopefully I'll find a
time slot to do a few Octave things in between.
Philip
--
View this message in context:
http://octave.1599824.n4.nabble.com/mxe-octave-cross-build-errors-when-building-native-gcc-tp4662612p4662638.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
- mxe-octave cross-build errors when building native-gcc, PhilipNienhuis, 2014/03/02
- mxe-octave cross-build errors when building native-gcc, John D, 2014/03/02
- RE: mxe-octave cross-build errors when building native-gcc, John D, 2014/03/02
- Re: mxe-octave cross-build errors when building native-gcc, Philip Nienhuis, 2014/03/07
- RE: mxe-octave cross-build errors when building native-gcc, John D, 2014/03/07
- Re: mxe-octave cross-build errors when building native-gcc, Philip Nienhuis, 2014/03/07
- RE: mxe-octave cross-build errors when building native-gcc, John D, 2014/03/07
- Re: mxe-octave cross-build errors when building native-gcc, John W. Eaton, 2014/03/07
Re: mxe-octave cross-build errors when building native-gcc,
PhilipNienhuis <=
Re: mxe-octave cross-build errors when building native-gcc, John D, 2014/03/03