Created attachment 147559 [details] Patch to use the compiler to build the asm files The boost-libs port fails on armv6 as it attempts to use the assembler directly when the files contain pre-processor directives. The attached patch passes these files through the compiler as is done in the base system.
Auto-assigned to maintainer office@FreeBSD.org
Take for testing and commits.
Redports build. I don't see anything new being broken, but tinderbox/redports doesn't handle boost-libs very well.
https://redports.org/buildarchive/20140922194505-30639/
The port seems to build in my localsetup. I need to modify the pkg repository so that it can fetch the local package. Will report back later.
The patch from Andrew seems to build a working package <logsnippet> [1/5] Installing icu-53.1: 100% [2/5] Installing boost-libs-1.55.0_3: 100% </logsnippet> Ofcourse I need to check whether everything went fine, but at least it builds and can be fetched via a local pkg repository.
Shouldn't that be CC? Or even ${CXX} from user's environment?
Created attachment 147654 [details] ${CC} is preferred in ports to cc Test built on ARMv6 and it seems happy. pkg built, without incident.
A commit references this bug: Author: sbruno Date: Fri Sep 26 13:48:28 UTC 2014 New revision: 369325 URL: http://svnweb.freebsd.org/changeset/ports/369325 Log: The boost-libs port fails on armv6 as it attempts to use the assembler directly when the files contain pre-processor directives. The attached patch passes these files through the compiler as is done in the base system. PR: 193836 Submitted by: andrew Approved by: bapt (mentor) Changes: head/devel/boost-libs/Makefile head/devel/boost-libs/files/patch-boost__libs__context__build__Jamfile.v2