[Bug 4490] New: recode-native FTBFS

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Wed Aug 6 09:19:09 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4490

           Summary: recode-native FTBFS
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom unstable
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: slapinid at gmail.com


recode-native has problems to build when host compiler is gcc-4.3.

Debian has patch for this problem which looks like this:

--- recode-3.6.orig/src/recodext.h 
+++ recode-3.6/src/recodext.h 
@@ -218,7 +218,7 @@ 
     enum recode_symbol_type type : 3; 

     /* Non zero if this one should be ignored.  */ 
-    bool ignore : 2; 
+    bool ignore : 1; 
   }; 

 struct recode_surface_list 

Part of log with error:

| /bin/sh ../libtool --mode=compile gcc
-DLIBDIR=\"/home/slapin/OE/tmp/staging/x86_64-linux/usr/lib\" -DHAVE_CONFIG_H
-I..
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/src
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/lib
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/libiconv
 -isystem/home/slapin/OE/tmp/staging/x86_64-linux/usr/include 
-isystem/home/slapin/OE/tmp/staging/x86_64-linux/usr/include -Os -c charname.c
| gcc -DLIBDIR=\"/home/slapin/OE/tmp/staging/x86_64-linux/usr/lib\"
-DHAVE_CONFIG_H -I..
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/src
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/lib
-I/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/libiconv
-isystem/home/slapin/OE/tmp/staging/x86_64-linux/usr/include
-isystem/home/slapin/OE/tmp/staging/x86_64-linux/usr/include -Os -c charname.c
-o charname.o
| In file included from common.h:140,
|                  from charname.c:20:
| recodext.h:221: error: width of 'ignore' exceeds its type
| make[2]: *** [charname.lo] Error 1
| make[2]: Leaving directory
`/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/slapin/OE/tmp/work/x86_64-linux/recode-native-3.6-r0/recode-3.6'
| make: *** [all-recursive-am] Error 2

A patch at start of this report fixes this problem for me.

uname -a
Linux builder 2.6.18-fza-028stab053.5-amd64 #1 SMP Sat Mar 1 19:50:43 UTC 2008
x86_64 GNU/Linux

gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-2'
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --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.3
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug
--enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.1 (Debian 4.3.1-2)

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list