[Bug 249046] lang/libobjc2: Linker error on 11.3 amd64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 1 03:32:40 UTC 2020


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

            Bug ID: 249046
           Summary: lang/libobjc2: Linker error on 11.3 amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: brad at facefault.org
 Attachment #217684 text/plain
         mime type:

Created attachment 217684
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=217684&action=edit
libobjc2 build log from beefy9

lang/libobjc2 attempts to link without -lm and fails.

: && /usr/bin/cc -O2 -pipe  -fno-strict-aliasing -Xclang -fexceptions -Xclang
-fobjc-exceptions -O3 -O2 -pipe  -fno-strict-aliasing 
Test/CMakeFiles/test_runtime_legacy.dir/Test.m.o
Test/CMakeFiles/ObjCXXEHInterop_arc_legacy_optimised.dir/ObjCXXEHInterop_arc.mm.o
Test/CMakeFiles/ObjCXXEHInterop_arc_legacy_optimised.dir/ObjCXXEHInterop_arc.m.o
-o Test/ObjCXXEHInterop_arc_legacy_optimised 
-Wl,-rpath,/wrkdirs/usr/ports/lang/libobjc2/work/.build  libobjc.so.4.6 
-lcxxrt && :
libobjc.so.4.6: undefined reference to `ceilf'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
*** Error code 1

Full log at

http://beefy9.nyi.freebsd.org/data/113amd64-default/546860/logs/errors/libobjc2-2.1_2.log

and also attached.

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


More information about the freebsd-ports-bugs mailing list