pkgsrc-Bugs archive

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

Re: pkg/48587: libffi does not build on IRIX



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

From: Staffan =?iso-8859-1?Q?Thom=E9n?= <duck%shangtai.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48587: libffi does not build on IRIX
Date: Sat, 15 Feb 2014 03:51:44 +0200

 On Wed, Feb 12, 2014 at 05:00:01AM +0000, David Holland wrote:
 > The following reply was made to PR pkg/48587; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-pbugs%netbsd.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/48587: libffi does not build on IRIX
 > Date: Wed, 12 Feb 2014 04:54:59 +0000
 > 
 >  On Tue, Feb 11, 2014 at 02:15:01PM +0000, Joerg Sonnenberger wrote:
 >   > On Tue, Feb 11, 2014 at 01:55:00PM +0000, Staffan Thomén wrote:
 >   >>  I seem to get the same response (can't infer, need --tag) when I
 >   >> try to run libtool manually on NetBSD.
 >   >>  
 >   >>  
 >   >>   % libtool --mode=compile as test.s
 >   >>  libtool: compile: unable to infer tagged configuration
 >   >>  libtool: compile: specify a tag with `--tag'
 >   >>  
 >   >>  How is this handled in other packages that have assembly bits?
 >   >  
 >   > It is strongly recommented to not run as explicitly, but use ${CC}.
 >  
 >  Is it the package or automake that's inserting "as" (or whatever)
 >  instead of ${CC}?
 
 Err, somehow this PR seems to have slid sideways into a detail that never
 happened. I copypasted that line with libtool --mode=compile as from my console
 where I was testing how libtool reacted to .s files with both "cc" and "as".
 
 From what I could see as it flashed past, the CC variable (well, CCAS) was
 properly "cc" in the build.
 
 The point was that to .s files, libtool reacts the same on netbsd and irix;
 which is to complain that it doesn't know how to handle them without a tag.
 
 Presumably there's a correct way to handle this in pkgsrc. My initial approach
 was to patch Makefile.in to include a tag, but this apparently wasn't right.
 
 So how?
 
 -- 
 Staffan Thomén - ADB3 455F 10D5 86D1 78D6  048D 11BB D66E 7C7E 2EF8
 


Home | Main Index | Thread Index | Old Index