Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2015 13:39:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199686] security/libntlm does not compile on ARM with CLANG
Message-ID:  <bug-199686-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 199686
           Summary: security/libntlm does not compile on ARM with CLANG
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: usenet@ulrich-grey.de
                CC: freebsd-arm@FreeBSD.org, jochen@daten-chaos.de
                CC: freebsd-arm@FreeBSD.org, jochen@daten-chaos.de
             Flags: maintainer-feedback?(jochen@daten-chaos.de)

===>  Configuring for libntlm-1.3_1
...
checking for gcc... cc
checking whether the C compiler works... no
configure: error: in
`/usr/local/DEVEL/ports/security/libntlm/work/libntlm-1.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to jochen@daten-chaos.de [maintainer] and attach
the "/usr/local/DEVEL/ports/security/libntlm/work/libntlm-1.3/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
#
Here an excerpt from
/usr/local/DEVEL/ports/security/libntlm/work/libntlm-1.3/config.log:
#
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
configure:3614: $? = 0
configure:3603: cc -v >&5
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
Target: armv6--freebsd11.0-gnueabi
Thread model: posix
configure:3614: $? = 0
configure:3603: cc -V >&5
cc: error: argument to '-V' is missing (expected 1 value)
cc: error: no input files
configure:3614: $? = 1
configure:3603: cc -qversion >&5
cc: error: unknown argument: '-qversion'
cc: error: no input files
configure:3614: $? = 1
configure:3634: checking whether the C compiler works
configure:3656: cc -O -pipe -mfloat-abi=softfp  -fno-strict-aliasing  
conftest.c  >&5
Stack dump:
0.      Program arguments: /usr/bin/cc -cc1 -triple armv6--freebsd11.0-gnueabi
-emit-obj -disable-free -main-file-name conftest.c -mrelocation-model static
-mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-mconstructor-aliases -target-cpu arm1176jzf-s -target-feature +soft-float-abi
-target-abi aapcs-linux -mfloat-abi soft -dwarf-column-info -resource-dir
/usr/bin/../lib/clang/3.6.0 -O2 -fdebug-compilation-dir
/usr/local/DEVEL/ports/security/libntlm/work/libntlm-1.3 -ferror-limit 19
-fmessage-length 0 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep
-fdiagnostics-show-option -vectorize-loops -vectorize-slp -o
/tmp/conftest-4d7c88.o -x c conftest.c 
1.      <eof> parser at end of file
2.      Per-function optimization
3.      Running pass 'Module Verifier' on function '@main'
cc: error: unable to execute command: Segmentation fault (core dumped)
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225
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: 
********************
#
It's a native build on a wandboard-quad:  FreeBSD 11.0-CURRENT #1 r281266M
If I use lang/gcc5 the build finished successfully.
#
root@wqtest:/usr/local/DEVEL/ports/security/libntlm # gcc5 -v
Using built-in specs.
COLLECT_GCC=gcc5
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc5/gcc/armv6-portbld-freebsd11.0/5.0.1/lto-wrapper
Target: armv6-portbld-freebsd11.0
Configured with: ./../gcc-5-20150421/configure
--with-build-config=bootstrap-debug --disable-nls
--enable-gnu-indirect-function --libdir=/usr/local/lib/gcc5
--libexecdir=/usr/local/libexec/gcc5 --program-suffix=5
--with-as=/usr/local/bin/as --with-gmp=/usr/local
--with-gxx-include-dir=/usr/local/lib/gcc5/include/c++/
--with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection'
--with-system-zlib --disable-libgcj --enable-languages=c,c++,objc,fortran
--prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man
--infodir=/usr/local/info/gcc5 --build=armv6-portbld-freebsd11.0
Thread model: posix
gcc version 5.0.1 20150421 (prerelease) (FreeBSD Ports Collection)

-- 
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-199686-13>