gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] gm2 does not build under Cygwin, tarball september 4th


From: Christoph Schlegel
Subject: Re: [Gm2] gm2 does not build under Cygwin, tarball september 4th
Date: Sun, 7 Sep 2014 11:38:51 +0200

Hi Erlend,

thanks for the hint. I never questioned the parameter as I simply did not know 
what it means. GM2 builds on the Cygwin32 platform without the config-option 
and I am running the tests at the moment.

Christoph

On Sat, 6 Sep 2014 13:49:37 -0700
Erlend Nagel <address@hidden> wrote:

> Have you tried removing --enable-__cxa_atexit ?
> 
> According to this:
> https://wiki.openoffice.org/wiki/GCC_cxa_atexit
>  
> 
> if you do not pass the flag, GCC will figure out itself if it is available.
> 
> Erlend
> 
> 
> 
> Christoph Schlegel <address@hidden> schrieb am 20:19 Samstag, 6.September 
> 2014:
>  
> 
> 
> Yes, here is the configuration line:
> 
> $ CXXFLAGS=-g BOOT_CFLAGS=-g CFLAGS=-g ../gcc-4.7.3/configure   
> --prefix=$HOME/opt   --libexecdir=$HOME/opt/lib   --enable-shared   
> --enable-threads=posix --enable-__cxa_atexit   --enable-clocale=gnu 
> --enable-languages=c,c++,gm2   --disable-multilib --disable-bootstrap 
> --enable-checking --enable-libgm2
> 
> Christoph
> 
> 
> On Sat, 6 Sep 2014 09:07:06 -0700
> Erlend Nagel <address@hidden> wrote:
> 
> > Did you pass:
> > 
> > --enable-__cxa_atexit
> > 
> > to configure?
> > 
> > Erlend
> > 
> > 
> > 
> > Christoph Schlegel <address@hidden> schrieb am 17:49 Freitag, 5.September 
> > 2014:
> >  
> > 
> > 
> > Hello Gaius,
> > 
> > the build still fails with the same error:
> > 
> > ln -s -f libgcc.map libgcc.map.def && if [ ! -d ./shlib ]; then mkdir 
> > ./shlib; else true; fi && 
> > /home/Christoph/gm2build/./gcc/xgcc -B/home/Christoph/gm2build/./gcc/ 
> > -B/home/Christoph/opt/i686-pc-cygwin/bin/ -
> > B/home/Christoph/opt/i686-pc-cygwin/lib/ -isystem 
> > /home/Christoph/opt/i686-pc-cygwin/include -isystem 
> > /home/Christoph/opt/i686-pc-cygwin/sys-include    -O2 
> > -I../../../gcc-4.7.3/libgcc/../winsup/w32api/include -
> > I../../../gcc-4.7.3/libgcc/../winsup/include 
> > -I../../../gcc-4.7.3/libgcc/../winsup/cygwin/include -O2 -g -DIN_GCC   -W 
> > -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes 
> > -Wmissing-prototypes -Wold-style-definition  -
> > isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  
> >  -shared -nodefaultlibs libgcc.map.def -
> > Wl,--out-implib,./shlib/libgcc_s.dll.a.tmp -o 
> > ./shlib/cyggcc_s-sjlj-1.dll.tmp -O2 -g -B./ _chkstk_s.o _chkstk_ms_s.o 
> > _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o 
> > _ucmpdi2_s.o _clear_cache_s.o 
> > _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o 
> > _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o 
> > _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o 
> > _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o 
> > _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o 
> > _paritysi2_s.o _paritydi2_s.o _powisf2_s.o 
> > _powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o 
> > _multc3_s.o _divsc3_s.o _divdc3_s.o 
> > _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o 
> > _clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o 
> > _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o 
> > _fixunsdfdi_s.o _fixunsxfdi_s.o _floatdisf_s.o 
> > _floatdidf_s.o _floatdixf_s.o _floatundisf_s.o _floatundidf_s.o 
> > _floatundixf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o 
> > _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o tf-signs_s.o addtf3_s.o 
> > divtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o 
> > multf3_s.o negtf2_s.o subtf3_s.o unordtf2_s.o fixtfsi_s.o fixunstfsi_s.o 
> > floatsitf_s.o floatunsitf_s.o fixtfdi_s.o 
> > fixunstfdi_s.o floatditf_s.o floatunditf_s.o extendsftf2_s.o 
> > extenddftf2_s.o extendxftf2_s.o trunctfsf2_s.o 
> > trunctfdf2_s.o trunctfxf2_s.o enable-execute-stack_s.o unwind-dw2_s.o 
> > unwind-dw2-fde_s.o unwind-sjlj_s.o unwind-c_s.o 
> > emutls_s.o libgcc.a  -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 && 
> > if [ -f ./shlib/cyggcc_s-sjlj-1.dll ]; then 
> > mv -f ./shlib/cyggcc_s-sjlj-1.dll ./shlib/cyggcc_s-sjlj-1.dll.backup; else 
> > true; fi && mv ./shlib/cyggcc_s-sjlj-
> > 1.dll.tmp ./shlib/cyggcc_s-sjlj-1.dll && mv ./shlib/libgcc_s.dll.a.tmp 
> > ./shlib/libgcc_s.dll.a
> > /home/Christoph/gm2build/./gcc/crtend.o:cygming-crtend.c:(.text.startup+0x13):
> >  undefined reference to `_atexit'
> > collect2: error: ld returned 1 exit status
> > Makefile:922: recipe for target 'libgcc_s.dll' failed
> > make[2]: *** [libgcc_s.dll] Error 1
> > make[2]: Leaving directory '/home/Christoph/gm2build/i686-pc-cygwin/libgcc'
> > Makefile:10083: recipe for target 'all-target-libgcc' failed
> > make[1]: *** [all-target-libgcc] Error 2
> > make[1]: Leaving directory '/home/Christoph/gm2build'
> > Makefile:881: recipe for target 'all' failed
> > 
> > Regards,
> > Christoph
> > 
> > _______________________________________________
> > gm2 mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/gm2
> 
> 
> 
> -- 
> Christoph Schlegel <address@hidden>


-- 
Christoph Schlegel <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]