On 4/1/07, Rene Rebe <[EMAIL PROTECTED]> wrote:

Yeah, we just fixed the cross C++ compiler recently to correctly
find the system header. I merged the relevant changeset into
the 6.0/branch.

However the embedded target did not build a native gcc, needed
to get the libstdc++ library. I fixed this in trunk and branches/6.0,
likewise.

Let me know if you still see a failure in the embedded target.

Thanks for all your help today, René. I'm happy to report that your
patch indeed solved the C++ error. Unfortunately, there is a further
problem with base/gmp:

== 21:13:50 =[1]=> Building base/gmp [4.1.4 6.0-stable].
-> Reading package configuration from package directory.
-> Preparing build in src.gmp.system.20070401.211341.3222.ubuntu
-> Building. Writing output to $root/var/adm/logs/1-gmp.out
!> checking for working alloca.h... yes
!> checking for alloca (via gmp-impl.h)... yes
!> checking how to allocate temporary memory... alloca
!> checking whether byte ordering is bigendian... (cached) unknown
!> configure: error: unknown endianness
!> presetting ac_cv_c_bigendian=no (or yes) will help
!> Due to previous errors, no 1-gmp.log file!
!> (Try enabling xtrace in the config to track an error inside the
build system.)
-> $root/var/adm/logs/1-gmp.out -> 1-gmp.err
== 04/01/07 21:15:37 =[1]=> Aborted building package gmp.

I've attached the error log. This looks like the same error Stefan got
earlier [1].

[1] http://thread.gmane.org/gmane.comp.t2.devel/2596/focus=2600

--
Arto Bendiken | http://bendiken.net/
Command Wrapper Debug: running 'i686-t2-linux-uclibc-gcc --version' ..
i686-t2-linux-uclibc-gcc is 
/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/wrapper/i686-t2-linux-uclibc-gcc
Old Command: i686-t2-linux-uclibc-gcc --version
ENVPREFIX = 'CMD'
OTHERS = ''
INSERT = '--help?:-pipe -Os -march=pentiumpro 
*/X11R6/include?-I/usr/X11/include */X11R6/lib?-L/usr/X11/lib 
*/X11R6/lib64?-L/usr/X11/lib64'
REMOVE = '-O -O[0-9s] -mtune* -march* -mcpu* -g*'
APPEND = '-s'
FILTER = ''
conditonal arg: --help?:-pipe.
conditonal: --help, lhs: , rhs: -pipe.
Insert: -pipe
Insert: -Os
Insert: -march=pentiumpro
conditonal arg: */X11R6/include?-I/usr/X11/include.
conditonal: */X11R6/include, lhs: -I/usr/X11/include, rhs: .
conditonal arg: */X11R6/lib?-L/usr/X11/lib.
conditonal: */X11R6/lib, lhs: -L/usr/X11/lib, rhs: .
conditonal arg: */X11R6/lib64?-L/usr/X11/lib64.
conditonal: */X11R6/lib64, lhs: -L/usr/X11/lib64, rhs: .
Copy:   --version
Append: -s
Old PATH: 
/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/wrapper:/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/bin:/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
New PATH: 
/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/bin:/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/crosscc:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
New Command: i686-t2-linux-uclibc-gcc -pipe -Os -march=pentiumpro --version -s
i686-t2-linux-uclibc-gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ writing debug log to 
/T2/src.gmp.system.20070401.211341.3222.ubuntu/cmd_wrapper.log ]
create symbolic link 
`/T2/src.gmp.system.20070401.211341.3222.ubuntu/archdir/gmp-4.1.4.tar.bz2' to 
`/T2/download/mirror/g/gmp-4.1.4.tar.bz2'
Running main build function 'build_this_package' ...
Extracting gmp-4.1.4.tar.bz2 (--use-compress-program=bzip2 -xf) ... 
Fixing ownership and permissions ...
Removing CVS, .svn, {arch} and .arch-ids directories ...
Changeing into /T2/src.gmp.system.20070401.211341.3222.ubuntu/gmp-4.1.4 ...
Apply patch /T2/package/base/gmp/autotools.patch ...
patching file acinclude.m4
patching file mpfr/Makefile.am
patching file mpfr/tests/Makefile.am
Apply patch /T2/package/base/gmp/sparc.patch ...
patching file configure
uclibc_fix_configsub: adding uclibc_arch_target support to ./config.sub
Creating /T2/build/system-6.0-stable-embedded-x86-pentiumpro/usr/<..> if 
required ...
You should update your `aclocal.m4' by running aclocal.
acinclude.m4:100: warning: underquoted definition of GMP_SUBST_CHECK_FUNCS
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
acinclude.m4:106: warning: underquoted definition of _GMP_SUBST_CHECK_FUNCS
acinclude.m4:118: warning: underquoted definition of GMP_SUBST_CHECK_HEADERS
acinclude.m4:125: warning: underquoted definition of _GMP_SUBST_CHECK_HEADERS
acinclude.m4:148: warning: underquoted definition of GMP_COMPARE_GE
acinclude.m4:153: warning: underquoted definition of GMP_COMPARE_GE_INTERNAL
acinclude.m4:187: warning: underquoted definition of GMP_PROG_AR
acinclude.m4:215: warning: underquoted definition of GMP_PROG_HOST_CC
acinclude.m4:258: warning: underquoted definition of GMP_PROG_LEX
acinclude.m4:276: warning: underquoted definition of GMP_PROG_M4
acinclude.m4:343: warning: underquoted definition of GMP_M4_M4WRAP_SPURIOUS
acinclude.m4:377: warning: underquoted definition of GMP_PROG_NM
acinclude.m4:429: warning: underquoted definition of GMP_PROG_CC_WORKS
acinclude.m4:484: warning: underquoted definition of GMP_PROG_CC_IS_GNU
acinclude.m4:511: warning: underquoted definition of GMP_PROG_CC_IS_XLC
acinclude.m4:530: warning: underquoted definition of GMP_HPC_HPPA_2_0
acinclude.m4:574: warning: underquoted definition of GMP_GCC_VERSION_GE
acinclude.m4:611: warning: underquoted definition of GMP_GCC_ARM_UMODSI
acinclude.m4:638: warning: underquoted definition of GMP_GCC_MARCH_PENTIUMPRO
acinclude.m4:662: warning: underquoted definition of GMP_GCC_M68K_OPTIMIZE
acinclude.m4:684: warning: underquoted definition of GMP_GCC_MIPS_O32
acinclude.m4:719: warning: underquoted definition of GMP_GCC_NO_CPP_PRECOMP
acinclude.m4:755: warning: underquoted definition of GMP_GCC_WA_MCPU
acinclude.m4:786: warning: underquoted definition of GMP_PROG_CXX_WORKS
acinclude.m4:820: warning: underquoted definition of GMP_INIT
acinclude.m4:858: warning: underquoted definition of GMP_FINISH
acinclude.m4:892: warning: underquoted definition of GMP_INCLUDE_MPN
acinclude.m4:908: warning: underquoted definition of GMP_DEFINE
acinclude.m4:923: warning: underquoted definition of GMP_DEFINE_RAW
acinclude.m4:941: warning: underquoted definition of GMP_TRY_ASSEMBLE
acinclude.m4:963: warning: underquoted definition of GMP_ASM_LABEL_SUFFIX
acinclude.m4:987: warning: underquoted definition of GMP_ASM_UNDERSCORE
acinclude.m4:1048: warning: underquoted definition of GMP_ASM_ALIGN_LOG
acinclude.m4:1106: warning: underquoted definition of GMP_ASM_ALIGN_FILL_0x90
acinclude.m4:1130: warning: underquoted definition of GMP_ASM_TEXT
acinclude.m4:1147: warning: underquoted definition of GMP_ASM_DATA
acinclude.m4:1175: warning: underquoted definition of GMP_ASM_RODATA
acinclude.m4:1232: warning: underquoted definition of GMP_ASM_GLOBL
acinclude.m4:1248: warning: underquoted definition of GMP_ASM_GLOBL_ATTR
acinclude.m4:1279: warning: underquoted definition of GMP_ASM_TYPE
acinclude.m4:1301: warning: underquoted definition of GMP_ASM_SIZE
acinclude.m4:1344: warning: underquoted definition of GMP_ASM_LSYM_PREFIX
acinclude.m4:1389: warning: underquoted definition of GMP_ASM_W32
acinclude.m4:1446: warning: underquoted definition of GMP_ASM_X86_MMX
acinclude.m4:1498: warning: underquoted definition of GMP_ASM_X86_SHLDL_CL
acinclude.m4:1525: warning: underquoted definition of GMP_ASM_X86_SSE2
acinclude.m4:1588: warning: underquoted definition of GMP_ASM_X86_MCOUNT
acinclude.m4:1658: warning: underquoted definition of GMP_ASM_M68K_INSTRUCTION
acinclude.m4:1687: warning: underquoted definition of GMP_ASM_M68K_ADDRESSING
acinclude.m4:1724: warning: underquoted definition of GMP_ASM_M68K_BRANCHES
acinclude.m4:1755: warning: underquoted definition of 
GMP_ASM_POWERPC_R_REGISTERS
acinclude.m4:1780: warning: underquoted definition of GMP_ASM_SPARC_REGISTER
acinclude.m4:1798: warning: underquoted definition of GMP_C_ATTRIBUTE_CONST
acinclude.m4:1817: warning: underquoted definition of GMP_C_ATTRIBUTE_MALLOC
acinclude.m4:1847: warning: underquoted definition of GMP_C_ATTRIBUTE_MODE
acinclude.m4:1863: warning: underquoted definition of GMP_C_ATTRIBUTE_NORETURN
acinclude.m4:1890: warning: underquoted definition of GMP_C_DOUBLE_FORMAT
acinclude.m4:2092: warning: underquoted definition of GMP_C_INLINE
acinclude.m4:2132: warning: underquoted definition of GMP_C_RESTRICT
acinclude.m4:2181: warning: underquoted definition of GMP_C_SIZES
acinclude.m4:2235: warning: underquoted definition of GMP_C_STDARG
acinclude.m4:2264: warning: underquoted definition of GMP_FUNC_ALLOCA
acinclude.m4:2281: warning: underquoted definition of GMP_HEADER_ALLOCA
acinclude.m4:2302: warning: underquoted definition of GMP_OPTION_ALLOCA
acinclude.m4:2358: warning: underquoted definition of 
GMP_FUNC_SSCANF_WRITABLE_INPUT
acinclude.m4:2394: warning: underquoted definition of GMP_FUNC_VSNPRINTF
acinclude.m4:2475: warning: underquoted definition of GMP_H_ANSI
acinclude.m4:2498: warning: underquoted definition of GMP_H_EXTERN_INLINE
acinclude.m4:2525: warning: underquoted definition of GMP_H_HAVE_FILE
acinclude.m4:2542: warning: underquoted definition of GMP_IMPL_H_IEEE_FLOATS
mpfr/acinclude.m4:2: warning: underquoted definition of AC_MY_LIBS
mpfr/acinclude.m4:20: warning: underquoted definition of AC_MY_HEADERS
mpfr/acinclude.m4:30: warning: underquoted definition of AC_CHECK_OS
mpfr/acinclude.m4:38: warning: underquoted definition of AC_CHECK_MACHTYPE
mpfr/acinclude.m4:48: warning: underquoted definition of MPFR_CONFIGS
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template 
without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Autodetection for option impossible:  --disable-debug passed thru.
Autodetection for option impossible:  --disable-nls passed thru.
Autodetection for option impossible:  --without-libpam passed thru.
Autodetection for option impossible:  --without-pam passed thru.
Autodetection for option impossible:  --disable-libpam passed thru.
Autodetection for option impossible:  --disable-pam passed thru.
Running  ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include 
--infodir=/usr/info --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var 
--disable-debug --disable-nls --without-libpam --without-pam --disable-libpam 
--disable-pam --build=i686-nocross-linux-gnu --host=i686-t2-linux-uclibc 
--enable-cxx --enable-mpfr --cache-file=./config.cache
configure: loading cache ./config.cache
checking build system type... i686-nocross-linux-gnu
checking host system type... i686-t2-linux-uclibc
checking for a BSD-compatible install... 
/T2/build/system-6.0-stable-embedded-x86-pentiumpro/TOOLCHAIN/tools.cross/wrapper/install
 -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-t2-linux-uclibc-strip... i686-t2-linux-uclibc-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether i686-t2-linux-uclibc-gcc is gcc... yes
checking compiler i686-t2-linux-uclibc-gcc -g -O2 -fomit-frame-pointer ... yes
checking compiler i686-t2-linux-uclibc-gcc -g -O2 -fomit-frame-pointer  
-mcpu=pentiumpro... yes
checking compiler i686-t2-linux-uclibc-gcc -g -O2 -fomit-frame-pointer 
-mcpu=pentiumpro  -march=pentiumpro... yes
checking for i686-t2-linux-uclibc-gcc... i686-t2-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-t2-linux-uclibc-gcc accepts -g... yes
checking for i686-t2-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-t2-linux-uclibc-gcc... none
checking for i686-t2-linux-uclibc-gcc option to accept ISO C99... -std=gnu99
checking for i686-t2-linux-uclibc-gcc -std=gnu99 option to accept ISO Standard 
C... (cached) -std=gnu99
checking how to run the C preprocessor... i686-t2-linux-uclibc-cpp
checking whether we are using the GNU C++ compiler... yes
checking whether i686-t2-linux-uclibc-g++ accepts -g... yes
checking dependency style of i686-t2-linux-uclibc-g++... none
checking C++ compiler i686-t2-linux-uclibc-g++ -g -O2 -fomit-frame-pointer 
-mcpu=pentiumpro -march=pentiumpro... yes
checking how to run the C++ preprocessor... i686-t2-linux-uclibc-g++ -E
using ABI="standard"
      CC="i686-t2-linux-uclibc-gcc -std=gnu99"
      CFLAGS="-g -O2 -fomit-frame-pointer -mcpu=pentiumpro -march=pentiumpro"
      CPPFLAGS=""
      CXX="i686-t2-linux-uclibc-g++"
      CXXFLAGS="-g -O2 -fomit-frame-pointer -mcpu=pentiumpro -march=pentiumpro"
      MPN_PATH=" x86/p6 x86 generic"
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for i686-t2-linux-uclibc-ar... i686-t2-linux-uclibc-ar
checking for BSD-compatible nm... i686-t2-linux-uclibc-nm
checking for a sed that does not truncate output... /bin/sed
checking for ld used by i686-t2-linux-uclibc-gcc -std=gnu99... 
i686-t2-linux-uclibc-ld
checking if the linker (i686-t2-linux-uclibc-ld) is GNU ld... yes
checking for i686-t2-linux-uclibc-ld option to reload object files... -r
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... i686-t2-linux-uclibc-g++ -E
checking for i686-t2-linux-uclibc-g77... F77_not_available_in_stage_1
checking whether we are using the GNU Fortran 77 compiler... no
checking whether F77_not_available_in_stage_1 accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse i686-t2-linux-uclibc-nm output from 
i686-t2-linux-uclibc-gcc -std=gnu99 object... ok
checking for objdir... .libs
checking for i686-t2-linux-uclibc-ar... (cached) i686-t2-linux-uclibc-ar
checking for i686-t2-linux-uclibc-ranlib... i686-t2-linux-uclibc-ranlib
checking for i686-t2-linux-uclibc-strip... (cached) i686-t2-linux-uclibc-strip
checking if i686-t2-linux-uclibc-gcc -std=gnu99 supports -fno-rtti 
-fno-exceptions... no
checking for i686-t2-linux-uclibc-gcc -std=gnu99 option to produce PIC... -fPIC
checking if i686-t2-linux-uclibc-gcc -std=gnu99 PIC flag -fPIC works... yes
checking if i686-t2-linux-uclibc-gcc -std=gnu99 static flag -static works... yes
checking if i686-t2-linux-uclibc-gcc -std=gnu99 supports -c -o file.o... yes
checking whether the i686-t2-linux-uclibc-gcc -std=gnu99 linker 
(i686-t2-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-t2-linux-uclibc-g++... i686-t2-linux-uclibc-ld
checking if the linker (i686-t2-linux-uclibc-ld) is GNU ld... yes
checking whether the i686-t2-linux-uclibc-g++ linker (i686-t2-linux-uclibc-ld) 
supports shared libraries... yes
checking for i686-t2-linux-uclibc-g++ option to produce PIC... -fPIC
checking if i686-t2-linux-uclibc-g++ PIC flag -fPIC works... yes
checking if i686-t2-linux-uclibc-g++ static flag -static works... yes
checking if i686-t2-linux-uclibc-g++ supports -c -o file.o... yes
checking whether the i686-t2-linux-uclibc-g++ linker (i686-t2-linux-uclibc-ld) 
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syssgi.h usability... no
checking sys/syssgi.h presence... no
checking for sys/syssgi.h... no
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking whether fgetc is declared... yes
checking whether fscanf is declared... yes
checking whether optarg is declared... yes
checking whether ungetc is declared... yes
checking whether vfprintf is declared... yes
checking return type of signal handlers... void
checking for intmax_t... yes
checking for long double... yes
checking for long long... yes
checking for ptrdiff_t... yes
checking for quad_t... yes
checking for preprocessor stringizing operator... yes
checking for working volatile... yes
checking whether <stdarg.h> exists and works... yes
checking whether gcc __attribute__ ((const)) works... yes
checking whether gcc __attribute__ ((malloc)) works... yes
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking whether gcc __attribute__ ((noreturn)) works... yes
checking for inline... yes
checking for cos in -lm... yes
checking for working alloca.h... yes
checking for alloca (via gmp-impl.h)... yes
checking how to allocate temporary memory... alloca
checking whether byte ordering is bigendian... (cached) unknown
configure: error: unknown endianness
presetting ac_cv_c_bigendian=no (or yes) will help
Due to previous errors, no 1-gmp.log file!
(Try enabling xtrace in the config to track an error inside the build system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ... 
Processing static lib corrections ...
Verifing the .la files ...
Searching for orphaned files ...
Found 7 files for this package.
Found 1 orphaned files for this package.
Clear (old) md5sums and cksums ...
Creating md5sum and cksum files ... done.
Creating package description ...
Making post-install adaptions.
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2

Reply via email to