pkgsrc-Bugs archive

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

Re: pkg/43912: lang/hugs fails to build on sparc64

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

From: "OBATA Akio" <>
Subject: Re: pkg/43912: lang/hugs fails to build on sparc64
Date: Tue, 28 Sep 2010 13:49:53 +0900

 On Tue, 28 Sep 2010 12:30:09 +0900, Stefan Schaeckeler 
<> wrote:
 >  >  >  >  BUILDLINK_TRANSFORM+= rename:-O*:-O0
 >  >  > Suprisingly, that replaces nothing and results in
 >  >  > cc -c -DNDEBUG=1 -O2 -mcpu=ultrasparc -pipe -I/usr/include  -O2 hugs.c
 >  >
 >  >  Oops, it should be "rename:-O[2-9]:-O0"
 > Didn't work, either.
 You cannot see the replacement, it will be done internally.
 >  How old is that remark in the Makefile, anway? I don't have any problems 
 > when hugs is compiled from pkgsrc on i386/linux. Maybe the transformation is 
 > not necessary on other platforms as well?
 I can use without -O0 on NetBSD-5.0.2-i386.
 >  Coming back to the netbsd/sparc64 issue. I compiled several older versions 
 > of hugs and non works on netbsd/sparc64. That problem must exist for a long 
 > time.
 > An unpatched hugs runs fine on freebsd/sparc64. So, I assume there is only a 
 > minor issue on netbsd/sparc64.
 Hmm, then this issue is not related to gcc optimization, but NetBSD/sparc64 
specific issue?

Home | Main Index | Thread Index | Old Index