Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Jan 2015 18:56:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 196423] New: [arm] clang3.5 crashes building math/gmp
Message-ID:  <bug-196423-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196423

            Bug ID: 196423
           Summary: [arm] clang3.5 crashes building math/gmp
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: sbruno@FreeBSD.org

~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toom44_mul.c:209:52: note: place parentheses around the '&' expression to
silence this warning
  flags = (enum toom7_flags) (flags | toom7_w3_neg & mpn_toom_eval_dgr3_pm1
(apx, amx, ap, n, s, tp));
--- sqr_basecase.lo ---
cc: warning: argument unused during compilation: '-D HAVE_CONFIG_H'
cc: warning: argument unused during compilation: '-I .'
cc: warning: argument unused during compilation: '-I ..'
cc: warning: argument unused during compilation: '-D __GMP_WITHIN_GMP'
cc: warning: argument unused during compilation: '-I ..'
cc: warning: argument unused during compilation: '-D OPERATION_sqr_basecase'
cc: warning: argument unused during compilation: '-fno-strict-aliasing'
cc: warning: argument unused during compilation: '-fPIC'
cc: warning: argument unused during compilation: '-D PIC'
--- toom42_mul.lo ---
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_toom42_mul -O -pipe -fno-strict-aliasing -c
toom42_mul.c -o toom42_mul.o >/dev/null 2>&1
--- toom44_mul.lo ---
                                                   ^
                                      (                                        
                    )
--- toom6_sqr.lo ---
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_toom6_sqr -O -pipe -fno-strict-aliasing -c
toom6_sqr.c  -fPIC -DPIC -o .libs/toom6_sqr.o
--- sqr_basecase.lo ---
Unimplemented
UNREACHABLE executed at
/usr/local/poudriere/jails/11-armv6/usr/src/lib/clang/libllvmarmdesc/../../../contrib/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp:84!
Stack dump:
0.      Program arguments: /nxb-bin/usr/bin/cc -cc1as -triple
armv6--freebsd11.0-gnueabi -filetype obj -main-file-name tmp-sqr_basecase.s
-target-cpu arm1176jzf-s -target-feature -neon -target-feature -crypto
-fdebug-compilation-dir /wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn
-dwarf-debug-producer FreeBSD clang version 3.5.0 (tags/RELEASE_350/final
216957) 20141124 -o .libs/sqr_basecase.o tmp-sqr_basecase.s 
1.      Program arguments: -triple armv6--freebsd11.0-gnueabi -filetype obj
-main-file-name tmp-sqr_basecase.s -target-cpu arm1176jzf-s -target-feature
-neon -target-feature -crypto -fdebug-compilation-dir
/wrkdirs/usr/ports/math/gmp/work/gmp-5.1.3/mpn -dwarf-debug-producer FreeBSD
clang version 3.5.0 (tags/RELEASE_350/final 216957) 20141124 -o
.libs/sqr_basecase.o tmp-sqr_basecase.s 
--- toom54_mul.lo ---
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_toom54_mul -O -pipe -fno-strict-aliasing -c
toom54_mul.c -o toom54_mul.o >/dev/null 2>&1
--- toom32_mul.lo ---
libtool: compile:  /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_toom32_mul -O -pipe -fno-strict-aliasing -c
toom32_mul.c -o toom32_mul.o >/dev/null 2>&1
--- toom8h_mul.lo ---
/bin/sh ../libtool --tag=CC    --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..  -DOPERATION_`echo toom8h_mul
| sed 's/_$//'`     -O -pipe  -fno-strict-aliasing -c -o toom8h_mul.lo
toom8h_mul.c
--- sqr_basecase.lo ---
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang integrated assembler command failed due to signal (use -v to
see invocation)
FreeBSD clang version 3.5.0 (tags/RELEASE_350/final 216957) 20141124
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
cc: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.
--- toom8_sqr.lo ---
/bin/sh ../libtool --tag=CC    --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..  -DOPERATION_`echo toom8_sqr |
sed 's/_$//'`     -O -pipe  -fno-strict-aliasing -c -o toom8_sqr.lo toom8_sqr.c
--- sqr_basecase.lo ---
*** [sqr_basecase.lo] Error code 1

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



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