3.1 bootstrap failure on irix6.5: as error - must give attribute values for new section

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Sun May 20 21:10:00 GMT 2001


That fixes part of the problem.  Now I see 

as: Error: /libgcc2.s, line 171: must give attribute values for new section
      .section .debug_frame

Problem is here

.LFE1:
	.end	__muldi3
	.section	.debug_frame   <-- this line is the problem
	.4byte	.LECIE0-.LSCIE0
.LSCIE0:
	.4byte	0xffffffff
	.byte	0x1

and complete file below

> -----Original Message-----
> From:	Richard Henderson [SMTP:rth@redhat.com]
> Sent:	Monday, 21 May 2001 13:16
> To:	Billinghurst, David (CRTS)
> Cc:	gcc-bugs@gcc.gnu.org; gcc-patches@gcc.gnu.org
> Subject:	Re: 3.1 bootstrap failure on irix6.5:  as error - must give
> attribute values for new section
> 
> On Mon, May 21, 2001 at 01:40:40AM -0000, Billinghurst, David (CRTS)
> wrote:
> > as: Error: /var/tmp//ccS1gjee.s, line 5: must give attribute values for
> new
> > section
> >       .section .debug_loc
> 
> Should be fixed thus.  It's bigger than strictly necessary,
> but I think fixing the defines to match the actual section
> name is a good thing.
> 
> We _really_ need to fix the ASM_OUTPUT_SECTION_NAME interface...
> 
#.file	1 "libgcc2.i"
	.set	nobopt
	.option pic2
	.section	.text
	.section	.debug_loc,0x7000001e,0,0,1
.Ldebug_loc0:
	.section	.debug_abbrev,0x7000001e,0,0,1
.Ldebug_abbrev0:
	.section	.debug_info,0x7000001e,0,0,1
.Ldebug_info0:
	.section	.debug_line,0x7000001e,0,0,1
.Ldebug_line0:
	.section	.rodata

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x37,0x35,0x20
	.byte	0x24,0x0

	.byte	0x24,0x49,0x64,0x3a,0x20,0x73,0x74,0x61
	.byte	0x6e,0x64,0x61,0x72,0x64,0x73,0x2e,0x68
	.byte	0x2c,0x76,0x20,0x31,0x2e,0x31,0x39,0x20
	.byte	0x31,0x39,0x39,0x37,0x2f,0x31,0x32,0x2f
	.byte	0x31,0x35,0x20,0x32,0x31,0x3a,0x33,0x30
	.byte	0x3a,0x32,0x35,0x20,0x6a,0x70,0x68,0x20
	.byte	0x45,0x78,0x70,0x20,0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x31,0x31,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x33,0x2e,0x31,0x33,0x38
	.byte	0x20,0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x32,0x20,0x24
	.byte	0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x31,0x37,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x34,0x31,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x32,0x38,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x33,0x2e,0x34,0x32,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x37,0x38,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x34,0x20,0x24
	.byte	0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x31,0x33,0x37
	.byte	0x20,0x24,0x0

	.byte	0x40,0x28,0x23,0x29,0x75,0x74,0x73,0x2d
	.byte	0x33,0x62,0x32,0x3a,0x69,0x6f,0x2f,0x75
	.byte	0x69,0x6f,0x2e,0x68,0x9,0x31,0x2e,0x32
	.byte	0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x32,0x32,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x39,0x20,0x24
	.byte	0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x31,0x20,0x24
	.byte	0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x37,0x2e,0x34,0x31,0x20
	.byte	0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x35,0x31,0x20
	.byte	0x24,0x0

	.byte	0x24,0x49,0x64,0x3a,0x20,0x70,0x74,0x69
	.byte	0x6d,0x65,0x72,0x73,0x2e,0x68,0x2c,0x76
	.byte	0x20,0x31,0x2e,0x34,0x20,0x31,0x39,0x39
	.byte	0x37,0x2f,0x30,0x31,0x2f,0x31,0x35,0x20
	.byte	0x30,0x34,0x3a,0x34,0x34,0x3a,0x34,0x31
	.byte	0x20,0x6a,0x77,0x61,0x67,0x20,0x45,0x78
	.byte	0x70,0x20,0x24,0x0

	.byte	0x24,0x52,0x65,0x76,0x69,0x73,0x69,0x6f
	.byte	0x6e,0x3a,0x20,0x31,0x2e,0x35,0x20,0x24
	.byte	0x0
	.text
	.align	2
	.align	3
	.globl	__muldi3
	.ent	__muldi3
__muldi3:
.LFB1:
	#.file	1 "/exd4/billingd/src/gcc-mainline/gcc/libgcc2.c"
	.frame	$sp,32,$31		# vars= 0, regs= 1/0, args= 0,
extra= 16
	.mask	0x10000000,-16
	.fmask	0x00000000,0
.LBB2:
.LBE2:
	subu	$sp,$sp,32
.LCFI0:
	sd	$28,16($sp)
.LCFI1:
	.set	noat
	lui	$1,%hi(%neg(%gp_rel(__muldi3)))
	addiu	$1,$1,%lo(%neg(%gp_rel(__muldi3)))
	daddu	$gp,$1,$25
	.set	at
	dsra	$7,$5,32
	dsra	$8,$4,32
	dsll	$4,$4,32
	dsra	$4,$4,32
	mult	$4,$7
	mflo	$7
	#nop
	dsll	$5,$5,32
	dsra	$5,$5,32
 #APP
	multu $4,$5
 #NO_APP
	dli	$2,0xffffffff00000000		# -4294967296
	and	$9,$9,$2
	dli	$2,0xffffffff		# 4294967295
	mflo	$4
	#nop
	#nop
	dsll	$4,$4,32
	dsrl	$4,$4,32
	mfhi	$6
	#nop
	or	$9,$9,$4
	dsll	$6,$6,32
	mult	$8,$5
	mflo	$8
	#nop
	and	$9,$9,$2
	or	$9,$9,$6
	dsra	$3,$9,32
	and	$2,$9,$2
	addu	$7,$7,$8
	addu	$3,$3,$7
	dsll	$3,$3,32
	or	$2,$2,$3
	ld	$28,16($sp)
	#nop
	.set	noreorder
	.set	nomacro
	j	$31
	addu	$sp,$sp,32
	.set	macro
	.set	reorder

.LFE1:
	.end	__muldi3
	.section	.debug_frame
	.4byte	.LECIE0-.LSCIE0
.LSCIE0:
	.4byte	0xffffffff
	.byte	0x1

	.byte	0x0
	.byte	0x1
	.byte	0x78
	.byte	0x40
	.byte	0xc
	.byte	0x1d
	.byte	0x0
	.align	2
.LECIE0:
.LSFDE0:
	.4byte	.LEFDE0-.LASFDE0
.LASFDE0:
	.4byte	.debug_frame
	.4byte	.LFB1
	.4byte	.LFE1-.LFB1
	.byte	0x4
	.4byte	.LCFI0-.LFB1
	.byte	0xe
	.byte	0x20
	.byte	0x4
	.4byte	.LCFI1-.LCFI0
	.byte	0x9c
	.byte	0x2
	.align	2
.LEFDE0:
	.align	0
	.section	.text
.Letext0:
	.section	.debug_line,0x7000001e,0,0,1
	.4byte	.LELT0-.LSLT0
.LSLT0:
	.2byte	0x2
	.4byte	.LELTP0-.LASLTP0
.LASLTP0:
	.byte	0x4
	.byte	0x1
	.byte	0xf6
	.byte	0xf5
	.byte	0xa
	.byte	0x0
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.byte	0x1

	.byte	0x2f,0x65,0x78,0x64,0x34,0x2f,0x62,0x69
	.byte	0x6c,0x6c,0x69,0x6e,0x67,0x64,0x2f,0x73
	.byte	0x72,0x63,0x2f,0x67,0x63,0x63,0x2d,0x6d
	.byte	0x61,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x2f
	.byte	0x67,0x63,0x63
	.byte	0
	.byte	0x0

	.byte	0x6c,0x69,0x62,0x67,0x63,0x63,0x32,0x2e
	.byte	0x69,0x0
	.byte	0x0
	.byte	0x0
	.byte	0x0

	.byte	0x6c,0x69,0x62,0x67,0x63,0x63,0x32,0x2e
	.byte	0x63,0x0
	.byte	0x1
	.byte	0x0
	.byte	0x0
	.byte	0x0
.LELTP0:
	.byte	0x0
	.byte	0x5
	.byte	0x2
	.4byte	.Letext0
	.byte	0x0
	.byte	0x1
	.byte	0x1
.LELT0:
	.section	.debug_info,0x7000001e,0,0,1
	.4byte	0x82
	.2byte	0x2
	.4byte	.Ldebug_abbrev0
	.byte	0x4
	.byte	0x1
	.4byte	.Ldebug_line0
	.4byte	.Letext0
	.4byte	.text

	.byte	0x6c,0x69,0x62,0x67,0x63,0x63,0x32,0x2e
	.byte	0x69,0x0

	.byte	0x2f,0x65,0x78,0x64,0x34,0x2f,0x62,0x69
	.byte	0x6c,0x6c,0x69,0x6e,0x67,0x64,0x2f,0x6f
	.byte	0x62,0x6a,0x2f,0x67,0x63,0x63,0x2d,0x6d
	.byte	0x61,0x69,0x6e,0x6c,0x69,0x6e,0x65,0x2f
	.byte	0x67,0x63,0x63,0x0

	.byte	0x47,0x4e,0x55,0x20,0x43,0x20,0x33,0x2e
	.byte	0x31,0x20,0x32,0x30,0x30,0x31,0x30,0x35
	.byte	0x32,0x30,0x20,0x28,0x65,0x78,0x70,0x65
	.byte	0x72,0x69,0x6d,0x65,0x6e,0x74,0x61,0x6c
	.byte	0x29,0x0
	.byte	0x1
	.byte	0x2
	.byte	0x1

	.byte	0x5f,0x5f,0x6d,0x75,0x6c,0x64,0x69,0x33
	.byte	0x0
	.byte	0x2
	.2byte	0x163
	.4byte	.LFB1
	.4byte	.LFE1
	.4byte	.LSFDE0
	.byte	0x1
	.byte	0x6d
	.byte	0x0
	.section	.debug_abbrev,0x7000001e,0,0,1
	.byte	0x1
	.byte	0x11
	.byte	0x1
	.byte	0x10
	.byte	0x6
	.byte	0x12
	.byte	0x1
	.byte	0x11
	.byte	0x1
	.byte	0x3
	.byte	0x8
	.byte	0x1b
	.byte	0x8
	.byte	0x25
	.byte	0x8
	.byte	0x13
	.byte	0xb
	.byte	0x0
	.byte	0x0
	.byte	0x2
	.byte	0x2e
	.byte	0x0
	.byte	0x3f
	.byte	0xc
	.byte	0x3
	.byte	0x8
	.byte	0x3a
	.byte	0xb
	.byte	0x3b
	.byte	0x5
	.byte	0x11
	.byte	0x1
	.byte	0x12
	.byte	0x1
	.byte	0x81,0x40
	.byte	0x6
	.byte	0x40
	.byte	0xa
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,0x7000001e,0,0,1
	.4byte	0x1b
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x86
	.4byte	0x69

	.byte	0x5f,0x5f,0x6d,0x75,0x6c,0x64,0x69,0x33
	.byte	0x0
	.4byte	0x0
	.section	.debug_aranges,0x7000001e,0,0,1
	.4byte	0x1c
	.2byte	0x2
	.4byte	.Ldebug_info0
	.byte	0x4
	.byte	0x0
	.2byte	0x0
	.2byte	0x0
	.4byte	.text
	.4byte	.Letext0-.text
	.4byte	0x0
	.4byte	0x0
>  
> 



More information about the Gcc-bugs mailing list