[Bug 196507] security/nettle broken with clang 3.5 for ARM

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 5 11:59:34 UTC 2015


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

            Bug ID: 196507
           Summary: security/nettle broken with clang 3.5 for ARM
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: johans at FreeBSD.org
          Reporter: sbruno at FreeBSD.org
                CC: dim at FreeBSD.org
          Assignee: johans at FreeBSD.org
             Flags: maintainer-feedback?(johans at FreeBSD.org)

clang3.5 does not support asm calls like this:

/nxb-bin/usr/bin/cc -I. -I/usr/local/include -DHAVE_CONFIG_H -O -pipe 
-fno-strict-aliasing -ggdb3 -Wall -W   -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith
-Wbad-function-cast -Wnested-externs -fpic -MT sha256-compress.o -MD -MP -MF
sha256-compress.o.d -fpic -c sha256-compress.s
cc: warning: argument unused during compilation: '-I .'
cc: warning: argument unused during compilation: '-I /usr/local/include'
cc: warning: argument unused during compilation: '-D HAVE_CONFIG_H'
cc: warning: argument unused during compilation: '-fno-strict-aliasing'
cc: warning: argument unused during compilation: '-fpic'
cc: warning: argument unused during compilation: '-MT sha256-compress.o'
cc: warning: argument unused during compilation: '-MD'
cc: warning: argument unused during compilation: '-MP'
cc: warning: argument unused during compilation: '-MF sha256-compress.o.d'
cc: warning: argument unused during compilation: '-fpic'
sha256-compress.s:81:16: error: register expected
        str     r0, [sp, +#64]
                          ^
sha256-compress.s:946:16: error: register expected
        ldr     r0, [sp, +#64]
                          ^
Makefile:332: recipe for target 'sha256-compress.o' failed


failure log:
http://tasty.ysv.freebsd.org/data/11-armv6-11-armv6-ports/2015-01-05_05h10m36s/logs/errors/nettle-2.7.1.log

with patch log:
http://tasty.ysv.freebsd.org/data/11-armv6-11-armv6-ports/2015-01-05_05h13m54s/logs/nettle-2.7.1.log

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer johans at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list