Please help me to bitbake "stable" version.

Holger Freyther zecke at selfish.org
Mon Dec 8 12:37:22 CET 2008


Am 07.12.2008 um 19:35 schrieb Vladimir Doukhanine:

> Hi Holger,
>
> I've commented
>
> #BB_GIT_CLONE_FOR_SRCREV = "1"
>
> but it still failes for git checkout origin/org.openmoko.asu.stable
>
>
> | -c /home/vladimir/moko/build//work/i686-linux/gcc-native-3.4.4-r7/ 
> gcc-3.4.4/gcc/collect2.c -o collect2.o
> | In function 'open',
> | inlined from 'collect_execute' at /home/vladimir/moko/build//work/ 
> i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c:1537:
> | /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
>

Ubuntu's 8.10 gcc is compiled with fortify source. This means a whole  
set of new errors will turn up when compiling software. For Openmoko  
asu.stable it is best to put:

    export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE} - 
D_FORTIFY_SOURCE=0"

in your local.conf or such. For org.openmoko.dev I have done this[1].  
I will consider cherry picking this to stable as well....

z.

[1] http://git.openmoko.org/?p=openmoko.git;a=commit;h=d32413b05254c8a1e41e2b8bab483b04795b87f0



More information about the devel mailing list