Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: mike at grouse.net.au (Mike Barnes)
Subject: New redhat-rpm-config for ac3
Date: Wed, 14 Mar 2007 22:49:41 +1100	[thread overview]
Message-ID: <A82C35B5-C65D-4F05-B64B-35363601F913@grouse.net.au> (raw)
In-Reply-To: <A24D2E8E-49C5-4CAC-A8E9-7A501193E1DC@grouse.net.au>

On 14/03/2007, at 9:58 PM, Mike Barnes wrote:
> Here's an example of configure's output when building  
> libmad-0.15.1b, one of the several builds I saw this in:

Found an interesting reference from 2003, which places the blame on  
libtool:
    http://www.arcknowledge.com/gmane.comp.gnu.libtool.bugs/2003-11/ 
msg00010.html

Seems that it used to fail the -fPIC test on any warning, which I  
guess -fstack-protector will issue on an Alpha, which is fair enough.  
It seems to have been dealt with at some point in the last few years,  
and updating the package's libtool setup seems to fix this:

----
[root at genuine-article libmad-0.15.1b]# libtoolize -c -f
You should update your `aclocal.m4' by running aclocal.
[root at genuine-article libmad-0.15.1b]# aclocal
/usr/share/aclocal/libxosd.m4:9: warning: underquoted definition of  
AM_PATH_LIBXOSD
   run info '(automake)Extending aclocal'
   or see http://sources.redhat.com/automake/automake.html#Extending- 
aclocal
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of  
AM_PATH_AALIB
[root at genuine-article libmad-0.15.1b]# autoconf
[root at genuine-article libmad-0.15.1b]# CFLAGS=-fstack-protector ./ 
configure
[...]
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
[...]
----

This could be worked into the spec for a failing package, and even  
resolved upstream if they update their libtool setup, without needing  
to mess with architecture specific macros.



      parent reply	other threads:[~2007-03-14 11:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14  9:13 New redhat-rpm-config for ac3 oliver
2007-03-14 10:06 ` mike
2007-03-14 10:29   ` tsv
2007-03-14 10:42     ` oliver
2007-03-14 10:58       ` mike
2007-03-14 11:23         ` cbalint
2007-03-14 11:39           ` oliver
2007-03-14 11:49         ` mike [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox