Subject: Re: pkg/29684: flac fails to build on Solaris with some compiler flags
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ben Collver <ben@NetBSD.org>
List: pkgsrc-bugs
Date: 03/19/2005 00:15:03
The following reply was made to PR pkg/29684; it has been noted by GNATS.

From: Ben Collver <ben@NetBSD.org>
To: sak8@eecs.cwru.edu
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, gnats-bugs@netbsd.org
Subject: Re: pkg/29684: flac fails to build on Solaris with some compiler flags
Date: Fri, 18 Mar 2005 16:15:35 -0800

 On Sun, Mar 13, 2005 at 03:24:00AM +0000, sak8@eecs.cwru.edu wrote:
 > >Description:
 > flac from pkgsrc-current does not build, failing with this error:
 > 
 > >How-To-Repeat:
 > Compile flac-1.1.2 from pkgsrc-current on a Solaris 9 system using gcc-3.3.5 and other tools from pkgsrc-current with CFLAGS=-O2 -mcpu=ultrasparc -mvis
 > 
 > Probably impacts all operating systems on SPARC. Probably occurs with -mcpu=v9 as well as -mcpu=ultrasparc, since they're almost synonymous.
 
 Hello,
 
 I successfully built flac-1.1.2 from pkgsrc-current on a Solaris 10
 system using gcc-3.3.5 and other tools from pkgsrc-current with
 CFLAGS=-O2 -mcpu ultrasparc -mvis
 
 If you want to see a build log, look at:
 http://backyard.homeunix.net/~ben/docs/comp/unix/netbsd/pkgsrc/flac.txt
 
 My /usr/pkgsrc is a symbolic link to /net/sanctum/usr/pkgsrc, which is
 -current pkgsrc NFS mounted from a NetBSD system.
 
 What do you think of only disabling -mcpu=ultrasparc in the case of
 Solaris 9?
 
 Ben