Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2024 17:52:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278791] devel/ocaml-base: unbreak on non-x86
Message-ID:  <bug-278791-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 278791
           Summary: devel/ocaml-base: unbreak on non-x86
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@dev.thsi.be

Hi,

Please apply the attached patch to unbreak on non-x86. This should fix the
current main-arm64-default build issue.

cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthr=
ead
-fPIC -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=3D64 -O2
-fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -fno-strict-aliasing
-D_LARGEFILE64_SOURCE -mpopcnt -g -I /usr/local/lib/ocaml -I
/usr/local/lib/ocaml/site-lib/sexplib0 -I ../compiler-stdlib/src -I
../hash_types/src -I ../shadow-stdlib/src -o int_math_stubs.o -c
int_math_stubs.c)
cc: error: unsupported option '-mpopcnt' for target
'aarch64-unknown-freebsd15.0'


It looks like clang stopped to return an error when compiling the configure
check of ocaml-base, but still fail when compiling the invidual .c file of
ocaml-base. Whereas gcc and earliers version (clang14) fail in all cases --
which seems to me to be the best desired outcome.

--=20
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-278791-7788>