http://bugs.openembedded.org/show_bug.cgi?id=1099

           Summary: lzo build failure -- config.h is not being generated
                    correctly
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


machine: nslu2
distro: debianslug
host: AMD64

This recently broke with move to GCC4.1

 ccache arm-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb
-DHAVE_CONFIG_H -I. -I/build/oe/biobank/tmp/work/lzo-1.08-r14/lzo-1.08/src -I..
-I/build/oe/biobank/tmp/work/lzo-1.08-r14/lzo-1.08/include
-isystem/build/oe/biobank/tmp/staging/arm-linux/include -DLZO_HAVE_CONFIG_H
-isystem/build/oe/biobank/tmp/staging/arm-linux/include -Os
-fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions
-fweb -funit-at-a-time -O2 -Wall -Wcast-align -Wcast-qual -Wwrite-strings
-fstrict-aliasing -DLZO_BUILD -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wno-uninitialized -MT lzo_crc.lo -MD -MP -MF
.deps/lzo_crc.Tpo -c lzo_crc.c  -fPIC -DPIC -o .libs/lzo_crc.o
In file included from lzo_conf.h:376,
                 from lzo_crc.c:28:
lzo_ptr.h:123:6: error: #error "no suitable type for lzo_ptr_t"
In file included from lzo_conf.h:376,
                 from lzo_crc.c:28:
lzo_ptr.h:163: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'__lzo_ptr_linear'
lzo_ptr.h:182: error: expected specifier-qualifier-list before 'lzo_ptr_t'


I diff of config.h with an older working build produces:

diff -urN lzo-1.08/config.h
../../../tmp_bak/work/lzo-1.08-r14/lzo-1.08/config.h
--- lzo-1.08/config.h   2006-06-16 16:33:53.000000000 -0400
+++ ../../../tmp_bak/work/lzo-1.08-r14/lzo-1.08/config.h        2006-05-26
12:28:49.000000000 -0400
@@ -244,16 +244,16 @@
 #define PACKAGE_VERSION "1.08"

 /* The size of a `char *', as computed by sizeof. */
-#define SIZEOF_CHAR_P 0
+#define SIZEOF_CHAR_P 4

 /* The size of a `ptrdiff_t', as computed by sizeof. */
-#define SIZEOF_PTRDIFF_T 0
+#define SIZEOF_PTRDIFF_T 4

 /* The size of a `size_t', as computed by sizeof. */
 #define SIZEOF_SIZE_T 4

 /* The size of a `unsigned', as computed by sizeof. */
-#define SIZEOF_UNSIGNED 0
+#define SIZEOF_UNSIGNED 4

 /* The size of a `unsigned long', as computed by sizeof. */
 #define SIZEOF_UNSIGNED_LONG 4


For some reason, the above defines are getting set to 0 instead of 4.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to