NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-evbarm/52087: libstdc++-v3/debug.d build fails when cross-compiled on Debian Linux due to x86intrin.h not found
>Number: 52087
>Category: port-evbarm
>Synopsis: libstdc++-v3/debug.d build fails when cross-compiled on Debian Linux due to x86intrin.h not found
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-evbarm-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 17 19:10:00 +0000 2017
>Originator: Sevan Janiyan
>Release: 7.1-RELEASE
>Organization:
>Environment:
Linux pkgsrc-vm 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22) x86_64 GNU/Linux
>Description:
Possibly the same issue as port-evbarm/52085? this time on Debian 8.7 itself (Not an env in Windows)
# create libstdc++-v3/debug.d [76/1736]
CC=/home/netbsder/src/obj/tooldir.Linux-3.16.0-4-amd64-x86_64/bin/armv7--netbsdelf-eabihf-c++ /home/netbsder/src/obj/tooldir.Linux-3.16.0-4-amd64-x86_6
4/bin/nbmkdep -f debug.d.tmp -- -I/home/netbsder/src/obj/destdir.evbarm/usr/include/g++/backward --sysroot=/home/netbsder/src/obj/destdir.evbarm
-I/home/netbsder/src/external/gpl3/gcc/dist/gcc -I/home/netbsder/src/external/gpl3/gcc/dist/include -I/home/netbsder/src/external/gpl3/gcc/dist/libstdc++-
v3/libsupc++ -I/home/netbsder/src/external/gpl3/gcc/dist/libgcc -I/home/netbsder/src/external/gpl3/gcc/lib/libstdc++-v3/../libstdc++-v3/arch/earmv7hf -
I. -DHAVE_STDLIB_H -DHAVE_STRING_H -I/home/netbsder/src/external/gpl3/gcc/dist/libstdc++-v3/include -I/home/netbsder/src/external/gpl3/gcc/lib/libstdc+
+-v3/arch/earmv7hf -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK -std=gnu++11 /home/netbsder/src/external/gpl3/gcc/dist/libstdc++-v3/src/
c++11/debug.cc && mv debug.d.tmp debug.d
In file included from /home/netbsder/src/obj/destdir.evbarm/usr/include/g++/random:51:0,
from /home/netbsder/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_algo.h:65,
from /home/netbsder/src/obj/destdir.evbarm/usr/include/g++/algorithm:62,
from /home/netbsder/src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/debug.cc:30:
/home/netbsder/src/obj/destdir.evbarm/usr/include/g++/bits/opt_random.h:33:23: fatal error: x86intrin.h: No such file or directory
#include <x86intrin.h>
^
compilation terminated.
nbmkdep: compile failed.
*** Failed target: debug.d
*** Failed command: CC=/home/netbsder/src/obj/tooldir.Linux-3.16.0-4-amd64-x86_64/bin/armv7--netbsdelf-eabihf-c++ /home/netbsder/src/obj/tooldir.Linux-
3.16.0-4-amd64-x86_64/bin/nbmkdep -f debug.d.tmp -- -I/home/netbsder/src/obj/destdir.evbarm/usr/include/g++/backward --sysroot=/home/netbsder/src/obj/d
estdir.evbarm -I/home/netbsder/src/external/gpl3/gcc/dist/gcc -I/home/netbsder/src/external/gpl3/gcc/dist/include -I/home/netbsder/src/external/gpl3/gcc/d
ist/libstdc++-v3/libsupc++ -I/home/netbsder/src/external/gpl3/gcc/dist/libgcc -I/home/netbsder/src/external/gpl3/gcc/lib/libstdc++-v3/../libstdc++-v3/a
rch/earmv7hf -I. -DHAVE_STDLIB_H -DHAVE_STRING_H -I/home/netbsder/src/external/gpl3/gcc/dist/libstdc++-v3/include -I/home/netbsder/src/external/gpl3/gc
c/lib/libstdc++-v3/arch/earmv7hf -D_GLIBCXX_SHARED -DGTHREAD_USE_WEAK -DSUPPORTS_WEAK -std=gnu++11 /home/netbsder/src/external/gpl3/gcc/dist/libstdc
++-v3/src/c++11/debug.cc && mv debug.d.tmp debug.d
*** Error code 1
>How-To-Repeat:
On Debian 8.7, run:
./build.sh -U -m evbarm -a earmv7hf -j2 release
>Fix:
Home |
Main Index |
Thread Index |
Old Index