[adding bug-gnulib] On 09/22/2013 07:08 AM, Dagobert Michelsen wrote:
> > The latest release is no longer compilable with Sun Studio 12.3 compiler as it > automatically uses GCC-specific flags: > >> /opt/solarisstudio12.3/bin/cc -D_STDC_C99= -fdiagnostics-show-option >> -funit-at-a-time -xO3 -m32 -xarch=sparc -Wc,-xnorunpath -m32 -xarch=sparc >> -L/opt/csw/lib -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o >> macro.o output.o path.o symtab.o ../lib/libm4.a /opt/csw/lib/libsigsegv.so >> -R/opt/csw/lib >> cc: Warning: Option -fdiagnostics-show-option passed to ld, if ld is >> invoked, ignored otherwise >> cc: Warning: Option -funit-at-a-time passed to ld, if ld is invoked, ignored >> otherwise >> ld: fatal: auxiliary filter option (-f, --auxiliary) is only available when >> building a shared object >> ld: fatal: flags processing errors Ugg - sounds like the gnulib warnings-detection module that m4 uses needs to be taught how to recognize Sun Studio's behavior when a particular compiler flag is unsupported. This is a gnulib issue, and will affect more than just m4, so fixing it upstream will also solve the problem for multiple packages. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature