[Bug 223971] devel/kBuild 0.1.9998_10 fails to build on VirtualBox guests with CPU Core 2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 29 23:01:54 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223971

--- Comment #14 from vvd at unislabs.com ---
Error during build GCC (with CPUTYPE?=core2):

/opt/obj/usr/ports/lang/gcc6/work/.build/./gcc/xgcc
-B/opt/obj/usr/ports/lang/gcc6/work/.build/./gcc/
-B/usr/local/x86_64-portbld-freebsd11.1/bin/
-B/usr/local/x86_64-portbld-freebsd11.1/lib/ -isystem
/usr/local/x86_64-portbld-freebsd11.1/include -isystem
/usr/local/x86_64-portbld-freebsd11.1/sys-include    -g -O2 -pipe -march=core2
-DLIBICONV_PLUG -fno-strict-aliasing -O2  -g -O2 -pipe -march=core2 
-DLIBICONV_PLUG -fno-strict-aliasing -DIN_GCC    -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -fpic -pthread -g -DIN_LIBGCC2
-fbuilding-libgcc -fno-stack-protector   -fpic -pthread -I. -I. -I../.././gcc
-I/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc
-I/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/.
-I/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/../gcc
-I/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/../include  -DHAVE_CC_TLS 
-o _mulxc3.o -MT _mulxc3.o -MD -MP -MF _mulxc3.dep -DL_mulxc3 -c
/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/libgcc2.c: In function
'__mulxc3':
/opt/obj/usr/ports/lang/gcc6/work/gcc-6.4.0/libgcc/libgcc2.c:1955:6: internal
compiler error: Illegal instruction
    a = COPYSIGN (isinf (a) ? 1 : 0, a);
    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake[4]: *** [Makefile:467: _mulxc3.o] Error 1
gmake[4]: Leaving directory
'/opt/obj/usr/ports/lang/gcc6/work/.build/x86_64-portbld-freebsd11.1/libgcc'
gmake[3]: *** [Makefile:11798: all-target-libgcc] Error 2
gmake[3]: Leaving directory '/opt/obj/usr/ports/lang/gcc6/work/.build'
gmake[2]: *** [Makefile:878: all] Error 2
gmake[2]: Leaving directory '/opt/obj/usr/ports/lang/gcc6/work/.build'
===> Compilation failed unexpectedly.

Testing build gcc without any CPUTYPE.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list