Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465186 - libpng-1.4.15 build fails on OS-X
Summary: libpng-1.4.15 build fails on OS-X
Status: RESOLVED DUPLICATE of bug 465010
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 01:56 UTC by William Morris
Modified: 2013-04-09 02:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Morris 2013-04-09 01:56:08 UTC
Failure during compilation due to incorrect flag to assembler:

libtool: compile:  x86_64-apple-darwin12-gcc -DHAVE_CONFIG_H -I. -DPNG_CONFIGURE_LIBPNG -Wa,--noexecstack -march=nocona -O2 -pipe -c arm/filter_neon.S  -fno-common -DPIC -o .libs/libpng15_la-filter_neon.o
FATAL:/Users/wrm/Gentoo/usr/lib/binutils/x86_64-apple-darwin12/4.3/x86_64/as: I don't understand '-' flag!

The -Wa,--noexecstack should probably read -Wa,noexecstack

This can be fixed by changing line 172 of configure.ac:

AC_SUBST([AM_CCASFLAGS], [-Wa,--noexecstack])
Comment 1 Christoph Junghans (RETIRED) gentoo-dev 2013-04-09 02:00:41 UTC

*** This bug has been marked as a duplicate of bug 465010 ***