Hi Joe,

Here is the extra information.


configure:3637: $? = 0
configure:3644: powerpc-openwrt-linux-gnu-gcc -v >&5
Using built-in specs.
Target: powerpc-openwrt-linux-gnu
Configured with:
/openwrt_trunk-glibc/build_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/gcc-4.4.5/configure
--prefix=/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1
--build=i686-linux-gnu --host=i686-linux-gnu
--target=powerpc-openwrt-linux-gnu --with-gnu-ld --enable-target-optspace
--disable-libgomp --disable-libmudflap --disable-multilib --disable-nls
--with-float=soft --with-gmp=/openwrt_trunk-glibc/staging_dir/host
--with-mpfr=/openwrt_trunk-glibc/staging_dir/host --disable-decimal-float
--disable-libssp --enable-__cxa_atexit --enable-languages=c,c++
--enable-shared --enable-threads
--with-slibdir=/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
--disable-tls
Thread model: posix
gcc version 4.4.5 (GCC)
configure:3648: $? = 0
configure:3655: powerpc-openwrt-linux-gnu-gcc -V >&5
powerpc-openwrt-linux-gnu-gcc: '-V' option must have argument
configure:3659: $? = 1
configure:3682: checking for C compiler default output file name
configure:3704: powerpc-openwrt-linux-gnu-gcc -Os -pipe -fno-caller-saves
-mcpu=440 -fhonour-copts -msoft-float -fPIC
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include/uClibc++
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
conftest.c -nodefaultlibs -luClibc++ -lm
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
-lgcc_s >&5
/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib/gcc/powerpc-openwrt-linux-gnu/4.4.5/../../../../powerpc-openwrt-linux-gnu/lib/crt1.o:(.rodata+0x8):
undefined reference to `__libc_csu_init'
/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib/gcc/powerpc-openwrt-linux-gnu/4.4.5/../../../../powerpc-openwrt-linux-gnu/lib/crt1.o:(.rodata+0xc):
undefined reference to `__libc_csu_fini'
collect2: ld returned 1 exit status
configure:3708: $? = 1
configure:3746: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "MySQL Server"
| #define PACKAGE_TARNAME "mysql"
| #define PACKAGE_VERSION "5.1.53"
| #define PACKAGE_STRING "MySQL Server 5.1.53"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "5.1.53"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3752: error: in
`/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53':
configure:3755: error: C compiler cannot create executables
See `config.log' for more details.

On Fri, Jun 17, 2011 at 2:55 PM, Roback, Joe <openwrt-de...@roback.cc>wrote:

> I think the key piece of information here is
>
>
>  See `config.log' for more details.
>>
>
> You might get some better help posting the details of the error ;-)
>
>
> Joe
>
>
>
>
>
> On Fri, 17 Jun 2011 14:38:08 -0400, Pawel Pastuszak wrote:
>
>> Hi Gents,
>>
>> Any thoughts on this, Again i using the glibc 2.6.1 and gcc 4.4.5 on
>> ubuntu
>> 10.10 and it's trunk check out.
>>
>>
>>
>> make[3]: Entering directory `/openwrt_trunk-glibc/feeds/**
>> packages/libs/mysql'
>> . /openwrt_trunk-glibc/include/**shell.sh; .
>> /openwrt_trunk-glibc/include/**shell.sh; gzip -dc
>> /openwrt_trunk-glibc/dl/mysql-**5.1.53.tar.gz | /bin/tar -C
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/..
>> -xf -
>>
>> Applying ./patches/500-cross_compile.**patch using plaintext:
>> patching file configure
>> patching file configure.in
>> patching file storage/innodb_plugin/plug.in
>> patching file libmysql/Makefile.in
>>
>> Applying ./patches/501-disable-pthread-**and-tests.patch using plaintext:
>> patching file sql/Makefile.am
>> patching file sql/Makefile.in
>> patching file extra/Makefile.am
>> patching file extra/Makefile.in
>>
>> Applying ./patches/502-fix-hostname.**patch using plaintext:
>> patching file scripts/mysql_install_db.sh
>> touch
>>
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/.prepared_**996d836bb9ea6ca62ea8d7e2685150**d0
>> (cd /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53;
>> touch configure.in aclocal.m4 Makefile.in config.h.in configure );
>> cp -fpR files/lex_hash.h
>>
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/sql/lex_hash.h
>> (cd
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/./;
>> if [ -x ./configure ]; then /usr/bin/find
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/
>> -name config.guess | xargs -r chmod u+w; /usr/bin/find
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/
>> -name config.guess | xargs -r -n1 cp
>> /openwrt_trunk-glibc/scripts/**config.guess; /usr/bin/find
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/
>> -name config.sub | xargs -r chmod u+w; /usr/bin/find
>> /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/
>> -name config.sub | xargs -r -n1 cp /openwrt_trunk-glibc/scripts/**
>> config.sub;
>> AR=powerpc-openwrt-linux-gnu-**ar AS="powerpc-openwrt-linux-gnu-**gcc -c
>> -Os
>> -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC"
>> LD=powerpc-openwrt-linux-gnu-**ld NM=powerpc-openwrt-linux-gnu-**nm
>> CC="powerpc-openwrt-linux-gnu-**gcc" GCC="powerpc-openwrt-linux-**
>> gnu-gcc"
>> CXX="g++-uc" RANLIB=powerpc-openwrt-linux-**gnu-ranlib
>> STRIP=powerpc-openwrt-linux-**gnu-strip
>> OBJCOPY=powerpc-openwrt-linux-**gnu-objcopy
>> OBJDUMP=powerpc-openwrt-linux-**gnu-objdump
>> SIZE=powerpc-openwrt-linux-**gnu-size CFLAGS="-Os -pipe -fno-caller-saves
>> -mcpu=440 -fhonour-copts -msoft-float -fPIC " CXXFLAGS="-Os -pipe
>> -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC "
>>
>> CPPFLAGS="-I/openwrt_trunk-**glibc/staging_dir/target-**
>> powerpc_glibc-2.6.1/usr/**include
>> -I/openwrt_trunk-glibc/**staging_dir/target-powerpc_**glibc-2.6.1/include
>>
>> -I/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/usr/**include
>>
>> -I/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/include
>> "
>>
>> LDFLAGS="-L/openwrt_trunk-**glibc/staging_dir/target-**
>> powerpc_glibc-2.6.1/usr/lib
>> -L/openwrt_trunk-glibc/**staging_dir/target-powerpc_**glibc-2.6.1/lib
>>
>> -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/usr/lib
>>
>> -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/lib
>> "  CXXFLAGS="$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"
>> CPPFLAGS="$CPPFLAGS
>>
>> -I/openwrt_trunk-glibc/**staging_dir/target-powerpc_**
>> glibc-2.6.1/usr/include/**uClibc++"
>> LDFLAGS="$LDFLAGS" LIBS="-nodefaultlibs -luClibc++ -lm
>>
>> -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/lib
>> -lgcc_s" CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm
>>
>> -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
>> gcc-4.4.5_glibc-2.6.1/lib
>> -lgcc_s"   mysql_cv_compress=yes mysql_cv_gethostname_style=**glibc2
>> ac_cv_c_stack_direction=-1  ./configure --target=powerpc-openwrt-linux
>> --host=powerpc-openwrt-linux --build=i686-linux-gnu --program-prefix=""
>> --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
>> --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc
>> --datadir=/usr/share --localstatedir=/var --mandir=/usr/man
>> --infodir=/usr/info --disable-nls    --enable-shared --enable-static
>> --enable-thread-safe-client --disable-assembler --with-pthread
>> --with-server
>> --without-mysqlmanager --without-raid --with-mysqld-user=root
>> --with-unix-socket-path=/tmp --without-libwrap --without-pstack
>> --with-low-memory --without-embedded-server --without-query-cache
>> --without-mysqlfs --without-vio --without-ssl --without-docs --without-man
>> --without-bench --without-readline --without-debug
>> --with-named-thread-libs=-**lpthread ; fi; );
>> configure: WARNING: unrecognized options: --disable-nls, --without-raid,
>> --without-mysqlfs, --without-vio, --without-bench
>> configure: loading site script
>> /openwrt_trunk-glibc/include/**site/powerpc-openwrt-linux-gnu
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... powerpc-openwrt-linux-gnu
>> checking target system type... powerpc-openwrt-linux-gnu
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking for powerpc-openwrt-linux-strip... powerpc-openwrt-linux-gnu-**
>> strip
>> checking how to create a ustar tar archive... gnutar
>> checking for style of include used by make... GNU
>> checking for powerpc-openwrt-linux-gcc... powerpc-openwrt-linux-gnu-gcc
>> checking for C compiler default output file name...
>> configure: error: in
>> `/openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>> make[3]: ***
>>
>> [/openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
>> 1/mysql-5.1.53/.configured_]
>> Error 77
>> make[3]: Leaving directory `/openwrt_trunk-glibc/feeds/**
>> packages/libs/mysql'
>> make[2]: *** [package/feeds/packages/mysql/**compile] Error 2
>> make[2]: Leaving directory `/openwrt_trunk-glibc'
>> make[1]: ***
>>
>> [/openwrt_trunk-glibc/staging_**dir/target-powerpc_glibc-2.6.**
>> 1/stamp/.package_compile]
>> Error 2
>> make[1]: Leaving directory `/openwrt_trunk-glibc'
>>
>>
>> Thanks,
>> Pawel
>>
>
> ______________________________**_________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.**org <openwrt-devel@lists.openwrt.org>
> https://lists.openwrt.org/**mailman/listinfo/openwrt-devel<https://lists.openwrt.org/mailman/listinfo/openwrt-devel>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to