svn commit: r384814 - in head/lang/gcc: . files
Herbert J. Skuhra
herbert at oslo.ath.cx
Mon Apr 27 09:06:13 UTC 2015
On Mon, Apr 27, 2015 at 04:08:01AM +0000, Adrian Chadd wrote:
> Author: adrian (src committer)
> Date: Mon Apr 27 04:08:01 2015
> New Revision: 384814
> URL: https://svnweb.freebsd.org/changeset/ports/384814
>
> Log:
> Implement the FreeBSD specific pieces for thread affinity for OpenMP.
>
> Upstream gcc 4.8 doesn't have support for this - it'll create threads,
> but it won't do any of the thread affinity stuff for FreeBSD.
>
> This allows for OMP_PROC_BIND=true to bind threads to their initial
> CPUs, leading to some pretty drastic improvements in performance
> for certain NUMA workloads.
>
> Approved by: gerald
>
> Added:
> head/lang/gcc/files/patch-libgomp-freebsd-affinity (contents, props changed)
> head/lang/gcc/files/patch-libgomp-posix-affinity (contents, props changed)
> Modified:
> head/lang/gcc/Makefile
Hi,
this breaks the build on releng/8.4 (with BOOTSTRAP=on and JAVA=off):
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
-e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
-e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
-e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
-e 's,^#include "\(.*\)",#include <bits/\1>,g' \
< /usr/ports/lang/gcc/work/gcc-4.8.4/libstdc++-v3/../libgcc/gthr-posix.h > x86_64-portbld-freebsd8.4/bits/gthr-default.h
gmake[3]: Leaving directory '/usr/ports/lang/gcc/work/build/x86_64-portbld-freebsd8.4/libstdc++-v3/include'
gmake[2]: Leaving directory '/usr/ports/lang/gcc/work/build'
Makefile:18677: recipe for target 'stage1-bubble' failed
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory '/usr/ports/lang/gcc/work/build'
Makefile:18992: recipe for target 'bootstrap-lean' failed
gmake: *** [bootstrap-lean] Error 2
I know stable/8 is EOL soon.
--
Herbert
More information about the svn-ports-all
mailing list