Hi Barry,

such kind of complex error messages even I can not understand by a glance on 
it. Gcc is simply a very complex source tree and a slight change of some header 
or configuration to something none at GCC upstream foresaw or tested may 
unfortunately error out like this :-/

It could be anything from system headers (glibc) missing, or misconfiguared to 
some outdated now unsupported configuration related to pthread, etc.

        René

On Nov 25, 2014, at 1:57, Barry Kauler <[email protected]> wrote:

> 
> Rene,
> I checked out rev 43395 yesterday, and I am doing a i686 compile.
> 
> At stage 0, gcc fails with this in ERROR-LOG:
> 
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/gcc/xgcc-wrapper
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/./gcc/xgcc
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/./gcc/
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/bin/
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/lib/
> -isystem 
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/include
> -isystem 
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/sys-include
>   -g -O2 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition  -isystem ./include   -fpic -mlong-double-80 -g
> -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic
> -mlong-double-80 -I. -I. -I../.././gcc -I../../../libgcc
> -I../../../libgcc/. -I../../../libgcc/../gcc
> -I../../../libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o
> unwind-sjlj.o -MT unwind-sjlj.o -MD -MP -MF unwind-sjlj.dep
> -fexceptions -c ../../../libgcc/unwind-sjlj.c -fvisibility=hidden
> -DHIDE_EXPORTS
> In file included from ./gthr-default.h:35:0,
>                 from ../../../libgcc/gthr.h:148,
>                 from ../../../libgcc/unwind-dw2-fde-dip.c:47:
> ./gthr-default.h:59:30: error: '__PTHREAD_SPINS' undeclared here (not
> in a function)
> #define __GTHREAD_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER
>                              ^
> ../../../libgcc/unwind-dw2-fde.c:48:41: note: in expansion of macro
> '__GTHREAD_MUTEX_INIT'
> static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
>                                         ^
> In file included from ../../../libgcc/unwind-dw2-fde-dip.c:89:0:
> ../../../libgcc/unwind-dw2-fde.c:48:1: warning: missing initializer
> for field '({anonymous})' of 'struct __pthread_mutex_s'
> [-Wmissing-field-initializers]
> static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
> ^
> In file included from /usr/include/i386-linux-gnu/sys/types.h:270:0,
>                 from ../../../libgcc/../gcc/tsystem.h:90,
>                 from ../../../libgcc/unwind-dw2-fde-dip.c:34:
> /usr/include/i386-linux-gnu/bits/pthreadtypes.h:122:5: note:
> '({anonymous})' declared here
>     };
>     ^
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/gcc/xgcc-wrapper
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/./gcc/xgcc
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/./gcc/
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/bin/
> -B/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/lib/
> -isystem 
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/include
> -isystem 
> /mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/build/wary6-9.0-trunk-wary6-x86-i686-linux/TOOLCHAIN/tools.cross/usr/i686-t2-linux-gnu/sys-include
>   -g -O2 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition  -isystem ./include   -fpic -mlong-double-80 -g
> -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic
> -mlong-double-80 -I. -I. -I../.././gcc -I../../../libgcc
> -I../../../libgcc/. -I../../../libgcc/../gcc
> -I../../../libgcc/../include  -DHAVE_CC_TLS  -DUSE_TLS -o unwind-c.o
> -MT unwind-c.o -MD -MP -MF unwind-c.dep -fexceptions -c
> ../../../libgcc/unwind-c.c -fvisibility=hidden -DHIDE_EXPORTS
> ../../../libgcc/static-object.mk:17: recipe for target
> 'unwind-dw2-fde-dip.o' failed
> make[2]: *** [unwind-dw2-fde-dip.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> '/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir/i686-t2-linux-gnu/libgcc'
> Makefile:10153: recipe for target 'all-target-libgcc' failed
> make[1]: *** [all-target-libgcc] Error 2
> make[1]: Leaving directory
> '/mnt/sda10/t2-project/t2-2015/t2-trunk-svn43395-24nov2014/src.gcc.wary6.20141125.092938.9624.puppypc29778/gcc-4.9.2/objdir'
> Makefile:840: recipe for target 'all' failed
> make: *** [all] Error 2
> 
> I don't understand it. Do you know what the cause might be?
> 
> I shouldn't post another topic in same email, but just a note:
> 
> 'gzip' at stage 0 failed, at installing, and I had to install the
> Ubuntu 'libintl-perl' and 'libintl-xs-perl', and
> 'libtext-unidecode-perl' packages in my host system.
> 
> I reasoned that gzip might also fail at a later stage, so added
> 'perl-libintl' to my T2 'pkgsel' file (as Ubuntu's 'libintl-perl' and
> 'libintl-xs-perl' DEBs are actually the 'perl-libintl' pkg).
> 
> However, I can't see any equivalent to 'libtext-unidecode-perl' in the
> T2 package list.
> 
> Regards,
> Barry
> 
> 
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [email protected] with a subject of: unsubscribe t2

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10117 Berlin
 DE Legal: Amtsgericht Berlin (Charlottenburg) HRB 105123B, Tax-ID#: DE251602478
 Managing Director: René Rebe
 http://exactcode.com | http://exactscan.com | http://ocrkit.com | 
http://t2-project.org | http://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to