Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2015 14:58:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196505] security/nettle broken with clang 3.5 for ARM
Message-ID:  <bug-196505-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 196505
           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: freebsd-ports-bugs@FreeBSD.org
          Reporter: sbruno@FreeBSD.org
                CC: dim@FreeBSD.org
 Attachment #151351 maintainer-approval?
             Flags:

Created attachment 151351
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151351&action=edit
patch for asm fix

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 Kurt Jaeger <pi@FreeBSD.org> ---
*** Bug 196506 has been marked as a duplicate of this bug. ***

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