From: Ivan Kuten <hidden> Date: 2007-06-28 18:26:34
Hello,
Current buildroot fails with configuration:
BR2_arm=y
BR2_arm920t=y
BR2_ARM_TYPE="ARM920T"
BR2_ARM_OABI=y
BR2_KERNEL_HEADERS_2_6_21=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.21.5"
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_PTHREADS_OLD=y
BR2_GCC_VERSION="3.4.6"
make[1]: Entering directory `buildroot/toolchain_build_arm/uClibc'
../libc/misc/wchar/wchar.c:170: error: syntax error before "attribute_hidden"
../libc/misc/wchar/wchar.c:170: warning: data definition has no type or storage class
../libc/misc/wchar/wchar.c:173: error: syntax error before "attribute_hidden"
../libc/misc/wchar/wchar.c:173: warning: data definition has no type or storage class
make[2]: *** [../utils/iconv] Error 1
make[1]: *** [utils] ?????? 2
BR,
Ivan
From: Bernhard Fischer <hidden> Date: 2007-06-28 22:31:06
On Thu, Jun 28, 2007 at 09:26:34PM +0300, Ivan Kuten wrote:
Hello,
Current buildroot fails with configuration:
*phew* glad i usually turn off locale as well as wchar support.
Glad that I have a pending workaround for m4 being b0rked with
wchar off, fwiw ;)
BR2_arm=y
BR2_arm920t=y
BR2_ARM_TYPE="ARM920T"
BR2_ARM_OABI=y
BR2_KERNEL_HEADERS_2_6_21=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.21.5"
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_PTHREADS_OLD=y
BR2_GCC_VERSION="3.4.6"
make[1]: Entering directory `buildroot/toolchain_build_arm/uClibc'
../libc/misc/wchar/wchar.c:170: error: syntax error before "attribute_hidden"
../libc/misc/wchar/wchar.c:170: warning: data definition has no type or storage class
../libc/misc/wchar/wchar.c:173: error: syntax error before "attribute_hidden"
../libc/misc/wchar/wchar.c:173: warning: data definition has no type or storage class
make[2]: *** [../utils/iconv] Error 1
make[1]: *** [utils] ?????? 2
PS: I'll spare to make any mention of wchar support which is
time-consuming as well as multilib support which falls into the same
category. IMHO these two are exactly of those kinds where interrested
parties should get in touch privately unless they want to sink their own
time and money to provide a satisfactory correct solution, generally..
Put short, ask the uClibc folks about this
From: softa at ttechgroup.com <hidden> Date: 2007-06-29 08:21:30
Hi,
The problem is in *iconv* binary for target, wchar support seems to be ok.
For successful compilation, remove iconv from makefile. I spend 1 day
digging in this problem and finaly decide to disable iconv in the target
platform.
Attached is patch that must be copied into buildroot/toolchain/uClibc/ dir.
BR,
Assen Stoyanov
----- Original Message -----
From: "Bernhard Fischer" <redacted>
To: "Ivan Kuten" <redacted>
Cc: <redacted>
Sent: Friday, June 29, 2007 1:31 AM
Subject: Re: [Buildroot] build fails with current uclibc
On Thu, Jun 28, 2007 at 09:26:34PM +0300, Ivan Kuten wrote:
quoted
Hello,
Current buildroot fails with configuration:
*phew* glad i usually turn off locale as well as wchar support.
Glad that I have a pending workaround for m4 being b0rked with
wchar off, fwiw ;)
quoted
BR2_arm=y
BR2_arm920t=y
BR2_ARM_TYPE="ARM920T"
BR2_ARM_OABI=y
BR2_KERNEL_HEADERS_2_6_21=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.21.5"
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_PTHREADS_OLD=y
BR2_GCC_VERSION="3.4.6"
make[1]: Entering directory `buildroot/toolchain_build_arm/uClibc'
../libc/misc/wchar/wchar.c:170: error: syntax error before
"attribute_hidden"
../libc/misc/wchar/wchar.c:170: warning: data definition has no type or
storage class
../libc/misc/wchar/wchar.c:173: error: syntax error before
"attribute_hidden"
../libc/misc/wchar/wchar.c:173: warning: data definition has no type or
storage class
make[2]: *** [../utils/iconv] Error 1
make[1]: *** [utils] ?????? 2
PS: I'll spare to make any mention of wchar support which is
time-consuming as well as multilib support which falls into the same
category. IMHO these two are exactly of those kinds where interrested
parties should get in touch privately unless they want to sink their own
time and money to provide a satisfactory correct solution, generally..
Put short, ask the uClibc folks about this
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
From: Ivan Kuten <hidden> Date: 2007-06-29 09:25:56
On Fri, 29 Jun 2007 11:21:30 +0300
softa at ttechgroup.com wrote:
quoted
quoted
BR2_arm=y
BR2_arm920t=y
BR2_ARM_TYPE="ARM920T"
BR2_ARM_OABI=y
BR2_KERNEL_HEADERS_2_6_21=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.21.5"
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"
BR2_PTHREADS_OLD=y
BR2_GCC_VERSION="3.4.6"
make[1]: Entering directory `buildroot/toolchain_build_arm/uClibc'
../libc/misc/wchar/wchar.c:170: error: syntax error before
"attribute_hidden"
../libc/misc/wchar/wchar.c:170: warning: data definition has no type or
storage class
../libc/misc/wchar/wchar.c:173: error: syntax error before
"attribute_hidden"
../libc/misc/wchar/wchar.c:173: warning: data definition has no type or
storage class
make[2]: *** [../utils/iconv] Error 1
make[1]: *** [utils] ?????? 2
Wchar and locale uCLibc build is correct - i just enabled wchar&locale in uclibc config
but not in BR2_ENABLE_LOCALE. Sorry for confusion.
BR,
Ivan
From: Ivan Kuten <hidden> Date: 2007-06-29 14:28:15
On Fri, 29 Jun 2007 12:25:56 +0300
Ivan Kuten wrote:
quoted
quoted
Wchar and locale uCLibc build is correct - i just enabled wchar&locale in uclibc config
but not in BR2_ENABLE_LOCALE. Sorry for confusion.
Hi,
The problem is in *iconv* binary for target, wchar support seems to be ok.
For successful compilation, remove iconv from makefile. I spend 1 day
digging in this problem and finaly decide to disable iconv in the target
platform.
Attached is patch that must be copied into buildroot/toolchain/uClibc/ dir.
BR,
Assen Stoyanov
Again, I messed with ucLibc install - if doing from clean install build root this problem appears
and indeed Assen's patch fixes behaviour.
However doing make from uclibc dir and uclibc .config I can make compile successfully - so it's more buildroot issue that of uclibc.
BR, Ivan