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: Tue, 11 Feb 2014 15:51:37 +0200
On Tue, Feb 11, 2014 at 07:30: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: Tue, 11 Feb 2014 07:28:27 +0000
>
> On Mon, Feb 10, 2014 at 04:45:00PM +0000, duck%shangtai.net@localhost wrote:
> > Add a patch file to include a --tag for the assembly files:
> >
> > --8<--
> > --- Makefile.in.orig Sun Feb 9 21:35:26 2014
> > +++ Makefile.in Sun Feb 9 21:35:39 2014
> > @@ -240,7 +240,7 @@
> > am__mv = mv -f
> > CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
> > $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
> > -LTCPPASCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
> > +LTCPPASCOMPILE = $(LIBTOOL) --tag=AS $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
> \
> > --mode=compile $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
> > $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
> > COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
> > --8<--
>
>
> This part conflicts with an existing patch for Makefile.am; and, since
> it's changing something that's spewed out by automake, it can't be
> fixed in Makefile.am. So I'm not immediately sure what to do about it.
>
> If libtool doesn't recognize what ends up in CCAS in Irix as an
> assembler, maybe it needs fixing?
>
> (I've committed the rest.)
First, thanks for still caring about IRIX. :-)
I must say I'm not terribly familiar with the inner workings of libtool
and its ilk. Presumably the correct course of action would be to tell it about
.S (and .s) files... Or should it be handled at the Makefile.in-generation
stage to add the appropriate tag (any tag will do apparently since an invalid
tag defaults to "CC" but no tag bombs)? From what I saw, $CCAS is "cc" on IRIX,
but either "cc" or "as" can be used.
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?
Staffan
--
Staffan Thomén - ADB3 455F 10D5 86D1 78D6 048D 11BB D66E 7C7E 2EF8
Home |
Main Index |
Thread Index |
Old Index