FAQ: [#6993] Fail to build iproute2 with trunk toolchain(2012)

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#6993] Fail to build iproute2 with trunk toolchain

Submitted By: Vivi Li

Open Date

2012-03-07 04:56:35     Close Date

2012-03-12 22:54:05

Priority:

Medium     Assignee:

Bob Liu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-2012_Feb_15

App binary format:

N/A     

Summary: Fail to build iproute2 with trunk toolchain

Details:

 

Fail to build iproute2 with trunk toolchain.

It works with 2011R1 toolchain.

 

--

test@uclinux61-bf548-std:~/work/cruise/checkouts/uclinux-dist.bak> make NON_SMP_BUILD=1 user/iproute2_only

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist.bak/user'

touch iproute2/.sgbuilt_user && make -C iproute2 -j1

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist.bak/user/iproute2'

cp Config iproute2-2.6.35/Config

make -C iproute2-2.6.35 CC="bfin-uclinux-gcc" LIBUTIL=  SHARED_LIBS=n

make[3]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist.bak/user/iproute2/iproute2-2.6.35'

make[4]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist.bak/user/iproute2/iproute2-2.6.35/lib'

bfin-uclinux-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DNO_SHARED_LIBS -fPIC -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.bak  -mcpu=bf548-0.2  -c -o ll_map.o ll_map.c

bfin-uclinux-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DNO_SHARED_LIBS -fPIC -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.bak  -mcpu=bf548-0.2  -c -o libnetlink.o libnetlink.c

bfin-uclinux-ar rcs libnetlink.a ll_map.o libnetlink.o

bfin-uclinux-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DNO_SHARED_LIBS -fPIC -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.bak  -mcpu=bf548-0.2  -c -o utils.o utils.c

bfin-uclinux-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DNO_SHARED_LIBS -fPIC -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.bak  -mcpu=bf548-0.2  -c -o rt_names.o rt_names.c

bfin-uclinux-gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DNO_SHARED_LIBS -fPIC -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist.bak  -mcpu=bf548-0.2  -c -o ll_types.o ll_types.c

In file included from ../include/linux/netdevice.h:30,

                 from ll_types.c:24:

/opt/uClinux.2012_Feb_15_11_42/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/if_packet.h:176: error: expected specifier-qualifier-list before ‘__aligned_u64’

make[4]: *** [ll_types.o] Error 1

make[4]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist.bak/user/iproute2/iproute2-2.6.35/lib'

--

 

Follow-ups

 

--- Vivi Li                                                  2012-03-12 23:37:15

It has been fixed by Bob.

So close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes