[oe] [PATCH] gcc-cross-kernel-3.3.4

Jörg Bakker joerg at hakker.de
Mon Mar 30 19:41:30 UTC 2009


Building gcc-cross-kernel-3.3.4 stops with the following error:

| In function 'open',                                                                                                                                    
|     inlined from 'collect_execute' at 
/home/jb/devel/cc/jammsession/oe/build/tmp/work/i586-angstrom-linux/gcc-cross-
kernel-3.3.4-3.3.4-r9/gcc-3.3.4/gcc/collect2.c:1575:                                                                                                                                        
| /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared 
with attribute error: open with O_CREAT in second argument needs 3 arguments                                                                                                                                                       
| make[1]: *** [collect2.o] Error 1                                                                                                                      
| make[1]: *** Waiting for unfinished jobs....                                                                                                           
| done                                                                                                                                                   
....
| make[1]: Leaving directory 
`/home/jb/devel/cc/jammsession/oe/build/tmp/work/i586-angstrom-linux/gcc-
cross-kernel-3.3.4-3.3.4-r9/gcc-3.3.4/build.i686-linux.i586-angstrom-
linux/gcc'
| make: *** [all-gcc] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /home/jb/devel/cc/jammsession/oe/build/tmp/work/i586-
angstrom-linux/gcc-cross-kernel-3.3.4-3.3.4-r9/temp/log.do_compile.17555
NOTE: package gcc-cross-kernel-3.3.4-3.3.4-r9: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/jb/devel/cc/jammsession/oe/build/recipes/gcc.save/gcc-
cross-kernel-3.3.4_3.3.4.bb do_compile failed
ERROR: Task 7 (/home/jb/devel/cc/jammsession/oe/build/recipes/gcc.save/gcc-
cross-kernel-3.3.4_3.3.4.bb, do_compile) failed
NOTE: Tasks Summary: Attempted 271 tasks of which 265 didn't need to be rerun 
and 1 failed.
ERROR: '/home/jb/devel/cc/jammsession/oe/build/recipes/gcc.save/gcc-cross-
kernel-3.3.4_3.3.4.bb' failed

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "8f8efbe43a7f28802d066f7f83915e8fbd0d4cc2"
TARGET_ARCH       = "i586"                                    
TARGET_OS         = "linux"                                   
MACHINE           = "epia"                                    
DISTRO            = "angstrom"                                
DISTRO_VERSION    = "2009.X-test-20090329"                    

The attached patch fixes this.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-cross-kernel-334.patch
Type: text/x-patch
Size: 1347 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20090330/2542ed5a/attachment-0002.bin>


More information about the Openembedded-devel mailing list