Subject: Re: pkg/29684: flac fails to build on Solaris with some compiler flags
To: None <sak8@eecs.cwru.edu>
From: Ben Collver <ben@NetBSD.org>
List: pkgsrc-bugs
Date: 03/18/2005 16:15:35
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