[#4726] [ltp]current ltp test build failed at test case inotify with latest toolchain

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

[#4726] [ltp]current ltp test build failed at test case inotify with latest toolchain

Submitted By: Vivi Li

Open Date

2008-12-15 23:29:45     Close Date

2008-12-26 05:28:52

Priority:

Medium     Assignee:

Jie Zhang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

Make Errors     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

toolchain 4.1-2008_Dec_12

App binary format:

N/A     

Summary: [ltp]current ltp test build failed at test case inotify with latest toolchain

Details:

 

Build ltp-full-20071031 with toolchain gcc4.1-2008_Dec_12, it failed at test case inotify for redefinition of ‘struct flock’.

 

Bellow is the log:

--

bfin-uclinux-gcc -Wall -D__uClinux__ -Dlinux -mstack-check-l1 -DUCLINUX -I../../include -g -Wall -I../../../../include -Wall --static  -Wl,-elf2flt="-s 32768" -static  inotify01.c  -L../../../../lib -lltp -o inotify01

In file included from /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/asm/fcntl.h:11,

                 from /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/fcntl.h:4,

                 from /opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/linux/inotify.h:11,

                 from inotify01.c:53:

/opt/uClinux/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/include/asm-generic/fcntl.h:117: error: redefinition of ‘struct flock’

make[4]: *** [inotify01] Error 1

make[4]: Leaving directory `/home/test/Desktop/ltp-port/ltp-full-20071031.adi/testcases/kernel/syscalls/inotify'

--

 

Follow-ups

 

--- Sonic Zhang                                              2008-12-23 21:40:18

Fixed in uClibc

 

--- Jie Zhang                                                2008-12-24 09:20:53

uClibc is not the right place to fix it. I have merged the fix from the

upstream.

 

--- Vivi Li                                                  2008-12-26 05:28:52

OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes