[Bug 255935] lang/ecl: Make libatomic_ops a LIB_DEPENDS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 16 20:48:03 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255935
Bug ID: 255935
Summary: lang/ecl: Make libatomic_ops a LIB_DEPENDS
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: olgeni at FreeBSD.org
Reporter: kevinz5000 at gmail.com
Assignee: olgeni at FreeBSD.org
Flags: maintainer-feedback?(olgeni at FreeBSD.org)
Created attachment 225008
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225008&action=edit
Proposed patch
In lang/ecl, libatomic_ops is currently a BUILD_DEPENDS and not a LIB_DEPENDS.
However, libatomic_ops is required at run time for COMPILE-FILE to work. For
example:
;;;; hello.lisp
(format t "Hello, world!")
;;;; ecl
> (compile-file "hello.lisp")
;;; Loading #P"/usr/local/lib/ecl-20.4.24/cmp.fas"
;;;
;;; Compiling hello.lisp.
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.
;;; Internal error:
;;; ** Error code 1 when executing
;;; (EXT:RUN-PROGRAM "cc" ("-I." "-I/usr/local/include/" "-isystem"
"/usr/local/include" "-I/usr/local/include" "-O2" "-pipe"
"-fstack-protector-strong" "-isystem" "/usr/local/include"
"-fno-strict-aliasing" "-std=c99" "-fPIC" "-Dfreebsd" "-O2" "-c" "hello.c" "-o"
"hello.o")):
;;; In file included from hello.c:5:
;;; In file included from /usr/local/include/ecl/ecl-cmp.h:33:
;;; In file included from /usr/local/include/ecl/ecl.h:89:
;;; In file included from /usr/local/include/ecl/stacks.h:23:
;;; /usr/local/include/ecl/ecl_atomics.h:23:12: fatal error: 'atomic_ops.h'
file not found
;;; # include <atomic_ops.h>
;;; ^~~~~~~~~~~~~~
;;; 1 error generated.
The proposed patch (attached) makes libatomic_ops a LIB_DEPENDS.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list