Ticket #149 (new defect)

Opened 9 months ago

Last modified 2 months ago

Cross silo build for pure 64bit Sparc V9 broken

Reported by: david Assigned to: clfs-commits@lists.cross-lfs.org.
Priority: critical Milestone: CLFS Standard 1.2.0
Component: BOOK Version: CLFS Standard SVN
Keywords: Tools silo broken Cc:

Description

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

Change History

08/23/08 16:15:39 changed by jciccone

  • version changed from CLFS Standard 1.0.0 to CLFS Standard 1.2.0.
  • milestone changed from CLFS Standard 1.1.0 to CLFS Standard 1.2.0.

This is because of using newer kernel headers. Pushing off to after 1.1.0

08/31/08 16:52:15 changed by jciccone

  • version changed from CLFS Standard 1.2.0 to CLFS Standard SVN.

09/27/08 20:07:45 changed by Cosmo

I'll have a look into this as I will be building Pure64 Sparc over the next week or so. If it is to do with the kernel headers then a patch will be made. This issue may have been fixed in Silo 1.4.14.