Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2015 11:06:08 +0200
From:      "Herbert J. Skuhra" <herbert@oslo.ath.cx>
To:        Adrian Chadd <adrian@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r384814 - in head/lang/gcc: . files
Message-ID:  <20150427090608.GA57758@oslo.ath.cx>
In-Reply-To: <201504270408.t3R481J2074438@svn.freebsd.org>
References:  <201504270408.t3R481J2074438@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150427090608.GA57758>