pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51402: pkgsrc-2016Q2/lang/g95 does not build on NetBSD7.0.1/arm7hf (raspberrypi2)



The following reply was made to PR pkg/51402; it has been noted by GNATS.

From: coypu%SDF.ORG@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/51402: pkgsrc-2016Q2/lang/g95 does not build on
 NetBSD7.0.1/arm7hf (raspberrypi2)
Date: Fri, 23 Sep 2016 01:17:11 +0000

 I've forced it to build with -O0 using CFLAGS=-O0 in Makefile
 
 Comparing the compiler output:
 /usr/pkgsrc/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/xgcc -B/usr/pkgsrc/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/ test.c -S
 to the base gcc, I get a diff:
 
 --- test.s	2016-05-23 21:57:04.000000000 +0000
 +++ test.s.412	2016-05-23 21:53:19.000000000 +0000
 @@ -1,36 +1,16 @@
 -	.cpu arm1176jzf-s
 -	.fpu softvfp
 -	.eabi_attribute 20, 1
 -	.eabi_attribute 21, 1
 -	.eabi_attribute 23, 3
 -	.eabi_attribute 24, 1
 -	.eabi_attribute 25, 1
 -	.eabi_attribute 26, 2
 -	.eabi_attribute 30, 6
 -	.eabi_attribute 34, 1
 -	.eabi_attribute 18, 4
  	.file	"test.c"
  	.text
  	.align	2
  	.global	main
  	.type	main, %function
  main:
 -.LFB0:
 -	.cfi_startproc
  	@ args = 0, pretend = 0, frame = 0
  	@ frame_needed = 1, uses_anonymous_args = 0
  	mov	ip, sp
 -	.cfi_def_cfa_register 12
  	stmfd	sp!, {fp, ip, lr, pc}
 -	.cfi_offset 11, -16
 -	.cfi_offset 13, -12
 -	.cfi_offset 14, -8
  	sub	fp, ip, #4
 -	.cfi_def_cfa 11, 4
  	mov	r3, #0
  	mov	r0, r3
  	ldmfd	sp, {fp, sp, pc}
 -	.cfi_endproc
 -.LFE0:
  	.size	main, .-main
 -	.ident	"GCC: (nb2 20150115) 4.8.4"
 +	.ident	"GCC: (GNU) 4.1.2"
 
 Seems to be the wrong ABI
 


Home | Main Index | Thread Index | Old Index