Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Building gcc 8 for QNX 6.6: Page 1 of 8 (8 Items)
   
Building gcc 8 for QNX 6.6  
Things seem to generally build well until I get to the point of building libgcc using xgcc.  It tries to build unwind-
dw2.c using position independent code and the assembler chokes on the resulting assembly file. 

/tmp/cciOo4Io.s: Assembler messages:
/tmp/cciOo4Io.s:67: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:68: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:69: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:70: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1566: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1567: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1568: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1569: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1570: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1571: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1572: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1573: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1574: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1575: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1576: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1577: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1578: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1579: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1580: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1581: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1582: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1583: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1584: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1585: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1586: Error: invalid operands (.text and .text.unlikely sections) for `-'
/tmp/cciOo4Io.s:1587: Error: invalid operands (.text and .text.unlikely sections) for `-'


Some of the lines in the resulting assembly that this errors out on are:

	.long	_GLOBAL_OFFSET_TABLE_+[.-.L7]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L18]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L12]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L7]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L5]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L4]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L4]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L4]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L4]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L19]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L8]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L7]
	.long	_GLOBAL_OFFSET_TABLE_+[.-.L5]

Ideas?

Thanks
Kevin