[#5631] Build lib confuse failed with gcc 4.3 toolchain

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

[#5631] Build lib confuse failed with gcc 4.3 toolchain

Submitted By: Vivi Li

Open Date

2009-10-19 23:40:16     Close Date

2009-10-20 03:29:06

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

Make Errors     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3-trunk-svn3648

App binary format:

N/A     

Summary: Build lib confuse failed with gcc 4.3 toolchain

Details:

 

Build lib confuse failed with gcc 4.3 toolchain.

It can built with gcc 4.1 toolchain.

 

--

/bin/sh ../libtool --mode=compile bfin-uclinux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../confuse-2.6/src -I..   -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf548-0.2 -Wall -Werror -pipe -Wall -g -O2      -mcpu=bf548-0.2 -c -o confuse.lo ../../confuse-2.6/src/confuse.c

bfin-uclinux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../confuse-2.6/src -I.. -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf548-0.2 -Wall -Werror -pipe -Wall -g -O2 -mcpu=bf548-0.2 -c ../../confuse-2.6/src/confuse.c -o confuse.o

/bin/sh ../libtool --mode=compile bfin-uclinux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../confuse-2.6/src -I..   -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf548-0.2 -Wall -Werror -pipe -Wall -g -O2      -mcpu=bf548-0.2 -c -o lexer.lo ../../confuse-2.6/src/lexer.c

bfin-uclinux-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../../confuse-2.6/src -I.. -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist -mcpu=bf548-0.2 -Wall -Werror -pipe -Wall -g -O2 -mcpu=bf548-0.2 -c ../../confuse-2.6/src/lexer.c -o lexer.o

cc1: warnings being treated as errors

lexer.c:1585: error: 'input' defined but not used

make[5]: *** [lexer.lo] Error 1

make[5]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/lib/libconfuse/build-confuse-2.6/src'

make[4]: *** [all-recursive] Error 1

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-10-20 00:00:42

fixed by not using -Werror

 

--- Vivi Li                                                  2009-10-20 03:29:06

OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes