MXE-Build in linux

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

MXE-Build in linux

John Donoghue-3
Is it just me, or has native-gcc stopped being able to build in the last
couple of days?

Last documented successful build I had was 31-May -  so somewhere between
then and now, something has stopped working for me.

Reply | Threaded
Open this post in threaded view
|

Re: MXE-Build in linux

John W. Eaton
Administrator
On 06/06/2013 03:55 PM, John D wrote:
> Is it just me, or has native-gcc stopped being able to build in the last
> couple of days?
>
> Last documented successful build I had was 31-May -  so somewhere between
> then and now, something has stopped working for me.

Can you be more specific about exactly what you are trying to do?

There are now a lot of options for mxe-octave.

If something isn't working now that used to work, that is not intentional.

jwe
Reply | Threaded
Open this post in threaded view
|

RE: MXE-Build in linux

John Donoghue-3


-----Original Message-----
From: John W. Eaton [mailto:[hidden email]]
Sent: Thursday, June 06, 2013 4:01 PM
To: John D
Cc: [hidden email]; 'Philip Nienhuis'; 'Clemens Buchacher'
Subject: Re: MXE-Build in linux

On 06/06/2013 03:55 PM, John D wrote:
> Is it just me, or has native-gcc stopped being able to build in the
> last couple of days?
>
> Last documented successful build I had was 31-May -  so somewhere
> between then and now, something has stopped working for me.

Can you be more specific about exactly what you are trying to do?

There are now a lot of options for mxe-octave.

If something isn't working now that used to work, that is not intentional.

Jwe

------------------------

I guessed not intentional :)

Running ./mk-dist --jobs 2    (my computer doesn't like higher) it had to
rebuild a lot of packages - when it got to native-gcc it failed - nothing
else should have changed on this machine since last compile, except updated
mxe-octave.
Error of bottom of log output is:

libtool: compile:  i686-pc-mingw32-gcc
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib -isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/mingw/include
-isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
-DHAVE_CONFIG_H -I.
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libquadmath -g -O2 -MT
printf/mul.lo -MD -MP -MF printf/.deps/mul.Tpo -c
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libquadmath/printf/mul.c
-DDLL_EXPORT -DPIC -o printf/.libs/mul.o
libtool: compile:  i686-pc-mingw32-gcc
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib -isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/mingw/include
-isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m -c
-I. -I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc -g -O2 -W
-Wall -Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
-fno-strict-aliasing -fexceptions
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/../gcc
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/../gcc/config
-I../.././gcc
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/../libgcc
-I../libgcc
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/../include
-fgnu-runtime  -DDLL_EXPORT -DPIC -o .libs/NXConstStr.o
i686-pc-mingw32-gcc: error:
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m:
Objective-C compiler not installed on this system
make[4]: *** [NXConstStr.lo] Error 1
make[4]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/l
ibobjc'
make[3]: *** [all-target-libobjc] Error 2
make[3]: *** Waiting for unfinished jobs....
.
.
.
libtool: compile:  i686-pc-mingw32-gcc
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib -isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/mingw/include
-isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
-DHAVE_CONFIG_H -I.
-I/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libquadmath -g -O2 -MT
strtod/tens_in_limb.lo -MD -MP -MF strtod/.deps/tens_in_limb.Tpo -c
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libquadmath/strtod/tens_
in_limb.c  -DDLL_EXPORT -DPIC -o strtod/.libs/tens_in_limb.o
/bin/sh ./libtool --tag=CC   --mode=link i686-pc-mingw32-gcc
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib -isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/mingw/include
-isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
-g -O2 -version-info `grep -v '^#'
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libquadmath/libtool-vers
ion`
-Wl,--version-script=/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/lib
quadmath/quadmath.map -no-undefined -bindir "/usr/bin" -lm  -o
libquadmath.la -rpath /usr/lib/gcc/i686-pc-mingw32/4.7.2 math/acoshq.lo
math/fmodq.lo math/acosq.lo math/frexpq.lo math/rem_pio2q.lo math/asinhq.lo
math/hypotq.lo math/remainderq.lo math/asinq.lo math/rintq.lo math/atan2q.lo
math/isinfq.lo math/roundq.lo math/atanhq.lo math/isnanq.lo math/scalblnq.lo
math/atanq.lo math/j0q.lo math/scalbnq.lo math/cbrtq.lo math/j1q.lo
math/signbitq.lo math/ceilq.lo math/jnq.lo math/sincos_table.lo
math/complex.lo math/ldexpq.lo math/sincosq.lo math/copysignq.lo
math/lgammaq.lo math/sincosq_kernel.lo math/coshq.lo math/llroundq.lo
math/sinhq.lo math/cosq.lo math/log10q.lo math/sinq.lo math/cosq_kernel.lo
math/log1pq.lo math/sinq_kernel.lo math/erfq.lo math/logq.lo math/sqrtq.lo
math/expm1q.lo math/lroundq.lo math/tanhq.lo math/expq.lo math/modfq.lo
math/tanq.lo math/fabsq.lo math/nanq.lo math/tgammaq.lo math/finiteq.lo
math/nextafterq.lo math/truncq.lo math/floorq.lo math/powq.lo math/fmaq.lo
math/cacoshq.lo math/cacosq.lo math/casinhq.lo math/casinq.lo
math/catanhq.lo math/catanq.lo math/cimagq.lo math/conjq.lo math/cprojq.lo
math/crealq.lo math/fdimq.lo math/fmaxq.lo math/fminq.lo math/ilogbq.lo
math/llrintq.lo math/log2q.lo math/lrintq.lo math/nearbyintq.lo
math/remquoq.lo printf/addmul_1.lo printf/add_n.lo printf/cmp.lo
printf/divrem.lo printf/flt1282mpn.lo printf/fpioconst.lo printf/lshift.lo
printf/mul_1.lo printf/mul_n.lo printf/mul.lo printf/printf_fphex.lo
printf/printf_fp.lo printf/quadmath-printf.lo printf/rshift.lo
printf/submul_1.lo printf/sub_n.lo strtod/strtoflt128.lo
strtod/mpn2flt128.lo strtod/tens_in_limb.lo
libtool: link: i686-pc-mingw32-gcc
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib -isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/mingw/include
-isystem
/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
-shared  math/.libs/acoshq.o math/.libs/fmodq.o math/.libs/acosq.o
math/.libs/frexpq.o math/.libs/rem_pio2q.o math/.libs/asinhq.o
math/.libs/hypotq.o math/.libs/remainderq.o math/.libs/asinq.o
math/.libs/rintq.o math/.libs/atan2q.o math/.libs/isinfq.o
math/.libs/roundq.o math/.libs/atanhq.o math/.libs/isnanq.o
math/.libs/scalblnq.o math/.libs/atanq.o math/.libs/j0q.o
math/.libs/scalbnq.o math/.libs/cbrtq.o math/.libs/j1q.o
math/.libs/signbitq.o math/.libs/ceilq.o math/.libs/jnq.o
math/.libs/sincos_table.o math/.libs/complex.o math/.libs/ldexpq.o
math/.libs/sincosq.o math/.libs/copysignq.o math/.libs/lgammaq.o
math/.libs/sincosq_kernel.o math/.libs/coshq.o math/.libs/llroundq.o
math/.libs/sinhq.o math/.libs/cosq.o math/.libs/log10q.o math/.libs/sinq.o
math/.libs/cosq_kernel.o math/.libs/log1pq.o math/.libs/sinq_kernel.o
math/.libs/erfq.o math/.libs/logq.o math/.libs/sqrtq.o math/.libs/expm1q.o
math/.libs/lroundq.o math/.libs/tanhq.o math/.libs/expq.o math/.libs/modfq.o
math/.libs/tanq.o math/.libs/fabsq.o math/.libs/nanq.o math/.libs/tgammaq.o
math/.libs/finiteq.o math/.libs/nextafterq.o math/.libs/truncq.o
math/.libs/floorq.o math/.libs/powq.o math/.libs/fmaq.o math/.libs/cacoshq.o
math/.libs/cacosq.o math/.libs/casinhq.o math/.libs/casinq.o
math/.libs/catanhq.o math/.libs/catanq.o math/.libs/cimagq.o
math/.libs/conjq.o math/.libs/cprojq.o math/.libs/crealq.o
math/.libs/fdimq.o math/.libs/fmaxq.o math/.libs/fminq.o math/.libs/ilogbq.o
math/.libs/llrintq.o math/.libs/log2q.o math/.libs/lrintq.o
math/.libs/nearbyintq.o math/.libs/remquoq.o printf/.libs/addmul_1.o
printf/.libs/add_n.o printf/.libs/cmp.o printf/.libs/divrem.o
printf/.libs/flt1282mpn.o printf/.libs/fpioconst.o printf/.libs/lshift.o
printf/.libs/mul_1.o printf/.libs/mul_n.o printf/.libs/mul.o
printf/.libs/printf_fphex.o printf/.libs/printf_fp.o
printf/.libs/quadmath-printf.o printf/.libs/rshift.o printf/.libs/submul_1.o
printf/.libs/sub_n.o strtod/.libs/strtoflt128.o strtod/.libs/mpn2flt128.o
strtod/.libs/tens_in_limb.o
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/mingw
-L/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/
winsup/w32api/lib
-Wl,--version-script=/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/lib
quadmath/quadmath.map   -o .libs/libquadmath-0.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
.libs/libquadmath.dll.a
libtool: link: ( cd ".libs" && rm -f "libquadmath.la" && ln -s
"../libquadmath.la" "libquadmath.la" )
make[5]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/l
ibquadmath'
make[4]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build/i686-pc-mingw32/l
ibquadmath'
make[3]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2.build'
make[1]: *** [build-only-native-gcc] Error 2
make[1]: Leaving directory `/home/jdonoghue/mxe-octave'

Reply | Threaded
Open this post in threaded view
|

Re: MXE-Build in linux

Przemek Klosowski-7
On 06/06/2013 04:28 PM, John D wrote:

> libtool: compile:  i686-pc-mingw32-gcc
...
> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m -c
...
> -fgnu-runtime  -DDLL_EXPORT -DPIC -o .libs/NXConstStr.o

> i686-pc-mingw32-gcc: error:
> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m:
> Objective-C compiler not installed on this system

When your compile tries to make NXConstStr.o it tries to run a C
compiler on ~/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m

This file belongs to GCC so you are actually compiling GCC at this
point. If MXE is set up to do that? If so, you have to build it without
Objective C which should prevent libobjc from being built.
Reply | Threaded
Open this post in threaded view
|

Re: MXE-Build in linux

John W. Eaton
Administrator
On 06/06/2013 05:49 PM, Przemek Klosowski wrote:

> On 06/06/2013 04:28 PM, John D wrote:
>
>> libtool: compile: i686-pc-mingw32-gcc
> ...
>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m
>> -c
> ...
>> -fgnu-runtime -DDLL_EXPORT -DPIC -o .libs/NXConstStr.o
>
>> i686-pc-mingw32-gcc: error:
>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m:
>> Objective-C compiler not installed on this system
>
> When your compile tries to make NXConstStr.o it tries to run a C
> compiler on ~/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m
>
> This file belongs to GCC so you are actually compiling GCC at this
> point. If MXE is set up to do that? If so, you have to build it without
> Objective C which should prevent libobjc from being built.

Oh, I see.  I disabled the Objective C compiler in the GCC cross
compiler because I didn't think it was used anywhere.  But then I forgot
to disable the Objective C compiler in the native-gcc build (that's the
copy of GCC that is cross compiled to run on the Windows system and
generate Windows binaries).

I checked in the following change:

   http://hg.octave.org/mxe-octave/rev/c94807091658

Does that fix the problem?

jwe
Reply | Threaded
Open this post in threaded view
|

Re: MXE-Build in linux

John Donoghue-3
On 06/06/2013 06:05 PM, John W. Eaton wrote:

> On 06/06/2013 05:49 PM, Przemek Klosowski wrote:
>> On 06/06/2013 04:28 PM, John D wrote:
>>
>>> libtool: compile: i686-pc-mingw32-gcc
>> ...
>>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/winsup/w32api/include
>>>
>>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m
>>>
>>> -c
>> ...
>>> -fgnu-runtime -DDLL_EXPORT -DPIC -o .libs/NXConstStr.o
>>
>>> i686-pc-mingw32-gcc: error:
>>> /home/jdonoghue/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m:
>>>
>>> Objective-C compiler not installed on this system
>>
>> When your compile tries to make NXConstStr.o it tries to run a C
>> compiler on ~/mxe-octave/tmp-native-gcc/gcc-4.7.2/libobjc/NXConstStr.m
>>
>> This file belongs to GCC so you are actually compiling GCC at this
>> point. If MXE is set up to do that? If so, you have to build it without
>> Objective C which should prevent libobjc from being built.
>
> Oh, I see.  I disabled the Objective C compiler in the GCC cross
> compiler because I didn't think it was used anywhere.  But then I
> forgot to disable the Objective C compiler in the native-gcc build
> (that's the copy of GCC that is cross compiled to run on the Windows
> system and generate Windows binaries).
>
> I checked in the following change:
>
>   http://hg.octave.org/mxe-octave/rev/c94807091658
>
> Does that fix the problem?
>
> jwe

That fixed it!