[#5026] mkfs.jffs2 build error

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

[#5026] mkfs.jffs2 build error

Submitted By: Yi Li

Open Date

2009-03-30 06:31:09     Close Date

2009-03-30 22:59:03

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

x86 gcc

App binary format:

N/A     

Summary: mkfs.jffs2 build error

Details:

 

adam@adam-desktop:~/new_workspace/local_svn/kernel/537/uclinux-dist$ gcc -v

Using built-in specs.

Target: i486-linux-gnu

Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu

Thread model: posix

gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

 

adam@adam-desktop:~/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/606f38a2221648ca5c5fa292c9f71d2ddd59fa66$  gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -pipe -Wall -g -O2      -mcpu=bf537-0.2 -I /home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/staging/include/ -L /home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/staging/lib/ -c -o /home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/mkfs.jffs2.o mkfs.jffs2.c -g -Wp,-MD,/home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/.mkfs.jffs2.c.dep

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

mkfs.jffs2.c:1: error: bad value (bf537-0.2) for -mtune= switch

 

Follow-ups

 

--- Yi Li                                                    2009-03-30 06:35:29

uclinux-dist svn: r7939

 

 

--- Mike Frysinger                                           2009-03-30 15:51:57

should be fixed by r7940

 

btw, running the command manually shows that you're doing something wrong ...

you should post the output of `make ..._only` next time

 

--- Yi Li                                                    2009-03-30 22:59:03

Yes - it is fixed by r7940. Close.

 

I am just copy&past so it could be easy to see the error message:

 

adam@adam-desktop:~/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/606f38a2221648ca5c5fa292c9f71d2ddd59fa66$

gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -I

/home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/staging/include/ -L

/home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/staging/lib/ -c -o

/home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/mkfs.jffs2.o

mkfs.jffs2.c -g

-Wp,-MD,/home/adam/new_workspace/local_svn/kernel/537/uclinux-dist/user/mtd-utils/build-606f38a2221648ca5c5fa292c9f71d2ddd59fa66-host/.mkfs.jffs2.c.dep

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes