[DragonFlyBSD - Bug #2878] [fix] CCVER problem when using clang and cpu extensions (intrinsics)
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Tue Mar 15 04:46:08 PDT 2016
Issue #2878 has been updated by marino.
"3. gcc/gxx can be superseded too as some ports just hardcode compiler names."
Any port that hardcodes "gcc" is wrong. that's considered a bug, even when GCC is specified for the port. If you find a port like that, open a PR at FreeBSD.
----------------------------------------
Bug #2878: [fix] CCVER problem when using clang and cpu extensions (intrinsics)
http://bugs.dragonflybsd.org/issues/2878#change-12843
* Author: arcade at b1t.name
* Status: New
* Priority: Low
* Assignee:
* Category: Build
* Target version:
----------------------------------------
Ok, I'm trying to compile dri with clang37. When I setting CCVER to clang37 build stops on:
In file included from utils.c:37:
In file included from ../../../../../src/mesa/main/macros.h:36:
../../../../../src/util/rounding.h:33:10: fatal error: 'xmmintrin.h' file not found
include <xmmintrin.h>
^
2 warnings and 1 error generated.
The file is present, but as per /etc/defaults/compiler.conf:
STD_INCOPT="-nostdinc -iprefix ${INCPREFIX} -iwithprefixbefore /usr/include"
DPORT_GCC_STD_INCOPTXX="-isystem /usr/local/lib/${CCVER}/include/c++ \
-isystem /usr/local/lib/${CCVER}/include/c++/${MACHARCH}-portbld-dragonfly${MACHREL}"
DPORT_CLANG_STD_INCOPTXX="-cxx-isystem /usr/include/c++/5.0"
...
clang37_INCOPT=${STD_INCOPT}
clang37_INCOPTCXX=${DPORT_CLANG_STD_INCOPTXX}
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list