[U-Boot] Warning messages in latest u-boot-samsung

Hi Minkyu Kang,
I am getting the following warning messages in the latest u-boot-samsung tree.
/usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(bpabi.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_divdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_udivdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail

Hi Rajeshwari,
On Tue, 2 Apr 2013 11:58:42 +0530, Rajeshwari Birje rajeshwari.birje@gmail.com wrote:
Hi Minkyu Kang,
I am getting the following warning messages in the latest u-boot-samsung tree.
/usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(bpabi.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_divdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_udivdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
Exactly which target are you building and with which toolchain?
Amicalement,

Hi Albert,
I am building for Samsung SMDK5250 and toolchain I use is arm-2011.09. Is it the issue with my toolchain.
Regards, Rajeshwari Shinde
On Tue, Apr 2, 2013 at 1:30 PM, Albert ARIBAUD albert.u.boot@aribaud.net wrote:
Hi Rajeshwari,
On Tue, 2 Apr 2013 11:58:42 +0530, Rajeshwari Birje rajeshwari.birje@gmail.com wrote:
Hi Minkyu Kang,
I am getting the following warning messages in the latest u-boot-samsung tree.
/usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(bpabi.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_divdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail /usr/local/arm/arm-2011.09/bin/arm-none-eabi-ld: warning: /usr/local/arm/arm-2011.09/bin/../lib/gcc/arm-none-eabi/4.6.1/libgcc.a(_udivdi3.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
Exactly which target are you building and with which toolchain?
Amicalement,
Albert.

Hi Rajeshwari,
(pleale avoid top-posting, and quote only what is necessary to understand your answer)
On Tue, 2 Apr 2013 15:00:55 +0530, Rajeshwari Birje rajeshwari.birje@gmail.com wrote:
Hi Albert,
I am building for Samsung SMDK5250 and toolchain I use is arm-2011.09. Is it the issue with my toolchain.
Apparently it is, as ARM gcc from ELDK 5.3 or Ubuntu give no warning for smdk5250 on u-boot-samsung/master.
Regards, Rajeshwari Shinde
Amicalement,

On 02/04/13 18:50, Albert ARIBAUD wrote:
Hi Rajeshwari,
(pleale avoid top-posting, and quote only what is necessary to understand your answer)
On Tue, 2 Apr 2013 15:00:55 +0530, Rajeshwari Birje rajeshwari.birje@gmail.com wrote:
Hi Albert,
I am building for Samsung SMDK5250 and toolchain I use is arm-2011.09. Is it the issue with my toolchain.
Apparently it is, as ARM gcc from ELDK 5.3 or Ubuntu give no warning for smdk5250 on u-boot-samsung/master.
Regards, Rajeshwari Shinde
Amicalement,
Tested with eldk-5.2, I've got no warning or error for SMDK5250.
Thanks, Minkyu Kang.

Hi Albert and Minkyu
Thank you for your inputs Will recheck my compiler.
Thanks and Regards, Rajeshwari Shinde.
On Tue, Apr 2, 2013 at 3:24 PM, Minkyu Kang mk7.kang@samsung.com wrote:
On 02/04/13 18:50, Albert ARIBAUD wrote:
Hi Rajeshwari,
(pleale avoid top-posting, and quote only what is necessary to understand your answer)
On Tue, 2 Apr 2013 15:00:55 +0530, Rajeshwari Birje rajeshwari.birje@gmail.com wrote:
Hi Albert,
I am building for Samsung SMDK5250 and toolchain I use is arm-2011.09. Is it the issue with my toolchain.
Apparently it is, as ARM gcc from ELDK 5.3 or Ubuntu give no warning for smdk5250 on u-boot-samsung/master.
Regards, Rajeshwari Shinde
Amicalement,
Tested with eldk-5.2, I've got no warning or error for SMDK5250.
Thanks, Minkyu Kang.
-- Regards, Rajeshwari Shinde
participants (3)
-
Albert ARIBAUD
-
Minkyu Kang
-
Rajeshwari Birje