[Clfs-commits] [CLFS Trac] #149: Cross silo build for pure 64bit Sparc V9 broken

CLFS Trac trac at cross-lfs.org
Sun Mar 9 20:12:10 PDT 2008


#149: Cross silo build for pure 64bit Sparc V9 broken
-------------------------------+--------------------------------------------
 Reporter:  david              |       Owner:  clfs-commits at lists.cross-lfs.org.
     Type:  defect             |      Status:  new                              
 Priority:  critical           |   Milestone:  CLFS Standard 1.1.0              
Component:  BOOK               |     Version:  CLFS Standard 1.0.0              
 Keywords:  Tools silo broken  |  
-------------------------------+--------------------------------------------
 I was cross-compilling silo for the Pure 64 bit boot method of the SVN
 book. This is the error I get.


  171.
       sparc64-unknown-linux-gnu-gcc -O2 -Wall -I. -I../include
 -DVERSION='"1.4.13"' -DIMGVERSION='"0.99"' -c silo.c
  172.
       In file included from /tools/include/asm/types.h:5,
  173.
                        from ../include/ext2fs/ext2fs.h:53,
  174.
                        from silo.c:54:
  175.
       /tools/include/asm-sparc64/types.h:31: error: conflicting types for
 '__s64'
  176.
       /tools/include/ext2fs/ext2_types.h:116: error: previous declaration
 of '__s64' was here
  177.
       /tools/include/asm-sparc64/types.h:32: error: conflicting types for
 '__u64'
  178.
       /tools/include/ext2fs/ext2_types.h:99: error: previous declaration
 of '__u64' was here
  179.
       In file included from ../include/ext2fs/ext2fs.h:78,
  180.
                        from silo.c:54:
  181.
       ../include/ext2fs/ext2_err.h:108: warning: 'struct et_list' declared
 inside parameter list
  182.
       ../include/ext2fs/ext2_err.h:108: warning: its scope is only this
 definition or declaration, which is probably not what you want
  183.
       In file included from ../include/ext2fs/ext2fs.h:227,
  184.
                        from silo.c:54:
  185.
       ../include/ext2fs/bitops.h: In function 'ext2fs_set_bit':
  186.
       ../include/ext2fs/bitops.h:224: warning: cast from pointer to
 integer of different size
  187.
       ../include/ext2fs/bitops.h: In function 'ext2fs_clear_bit':
  188.
       ../include/ext2fs/bitops.h:252: warning: cast from pointer to
 integer of different size
  189.
       silo.c: In function 'read_sb':
  190.
       silo.c:245: warning: pointer targets in passing argument 1 of
 'devopen' differ in signedness
  191.
       silo.c:256: warning: pointer targets in passing argument 1 of
 'devopen' differ in signedness
  192.
       silo.c:265: warning: pointer targets in passing argument 1 of
 'strchr' differ in signedness
  193.
       silo.c:276: warning: pointer targets in passing argument 1 of
 'strchr' differ in signedness
  194.
       silo.c: In function 'write_block_device':
  195.
       silo.c:484: warning: pointer targets in passing argument 1 of
 'devopen' differ in signedness
  196.
       silo.c: In function 'write_block_tables':
  197.
       silo.c:569: warning: pointer targets in passing argument 1 of
 'devopen' differ in signedness
  198.
       silo.c:616: warning: pointer targets in passing argument 1 of
 '__builtin_strncpy' differ in signedness
  199.
       silo.c: In function 'get_device':
  200.
       silo.c:1082: warning: pointer targets in assignment differ in
 signedness
  201.
       silo.c:1083: warning: pointer targets in passing argument 1 of
 'strcpy' differ in signedness
  202.
       silo.c:1084: warning: pointer targets in passing argument 1 of
 'strchr' differ in signedness
  203.
       silo.c:1084: warning: pointer targets in assignment differ in
 signedness
  204.
       silo.c:1085: warning: pointer targets in passing argument 1 of
 'strcpy' differ in signedness
  205.
       silo.c: In function 'main':
  206.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
  207.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
  208.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 '__builtin_strcmp' differ in signedness
  209.
       silo.c:1281: warning: pointer targets in passing argument 2 of
 '__builtin_strcmp' differ in signedness
  210.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
  211.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 '__builtin_strcmp' differ in signedness
  212.
       silo.c:1281: warning: pointer targets in passing argument 2 of
 '__builtin_strcmp' differ in signedness
  213.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 'strlen' differ in signedness
  214.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 '__builtin_strcmp' differ in signedness
  215.
       silo.c:1281: warning: pointer targets in passing argument 2 of
 '__builtin_strcmp' differ in signedness
  216.
       silo.c:1281: warning: pointer targets in passing argument 1 of
 '__builtin_strcmp' differ in signedness
  217.
       silo.c:1281: warning: pointer targets in passing argument 2 of
 '__builtin_strcmp' differ in signedness
  218.
       silo.c:1298: warning: pointer targets in assignment differ in
 signedness
  219.
       silo.c:1410: warning: pointer targets in passing argument 1 of
 'examine_bootblock' differ in signedness
  220.
       silo.c:1420: warning: pointer targets in passing argument 1 of
 'install_first_stage' differ in signedness
  221.
       make[1]: *** [silo.o] Error 1
  222.
       make[1]: Leaving directory `/opt/sparc/sources/silo-1.4.13/silo'
  223.
       make: *** [all] Error 1
  224.
       clfs:/opt/sparc/sources/silo-1.4.13$

 http://pastebin.cross-lfs.org/5206

 Dave

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/149>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list