• devel/cpu_features fails to build for armv7: ld.lld: error: undefined symbol: GetArmInfo (and GetArmFeatures and GetArmFeaturesEnumName)

    From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Sun Oct 18 20:22:03 2026
    From Newsgroup: muc.lists.freebsd.ports

    The failure in the log file was:

    [ 96% 25/26] : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=CMakeFiles/list_cpu_features.dir/link.d CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o list_cpu_features
    -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build: libcpu_features.so && :
    FAILED: [code=1] list_cpu_features
    : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong
    -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=CMakeFiles/list_cpu_features.dir/link.d CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o list_cpu_features
    -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build: libcpu_features.so && :
    ld.lld: error: undefined symbol: GetArmInfo
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumValue
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumName
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)
    cc: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
    Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
    the maintainer.
    *** Error code 1

    Stop.
    make: stopped making "build" in /usr/ports/devel/cpu_features
    --



    ===
    Mark Millard
    marklmi at yahoo.com



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Robert Clausecker@fuz@fuz.ooo to muc.lists.freebsd.ports on Mon Oct 19 21:36:58 2026
    From Newsgroup: muc.lists.freebsd.ports

    Hi Mark,

    Please file a bug report.
    I had previously added support for armv7, but my patches where
    dropped without checking in 79018ce2de9. It is very annoying when
    my work gets undone and I have to do it again like this.

    Reading both source code and release notes, there is no indication
    whatsoever that any native FreeBSD support was added for armv7 or
    aarch64. It is unclear to me why the maintainer claims it has been.

    Yours,
    Robert Clausecker

    On Sun, Oct 18, 2026 at 08:22:03PM -0700, Mark Millard wrote:
    The failure in the log file was:

    [ 96% 25/26] : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=CMakeFiles/list_cpu_features.dir/link.d CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o list_cpu_features -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build: libcpu_features.so && :
    FAILED: [code=1] list_cpu_features
    : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -Xlinker --dependency-file=CMakeFiles/list_cpu_features.dir/link.d CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o list_cpu_features -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build: libcpu_features.so && :
    ld.lld: error: undefined symbol: GetArmInfo
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumValue
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumName
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)
    cc: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
    Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer.
    *** Error code 1

    Stop.
    make: stopped making "build" in /usr/ports/devel/cpu_features
    --



    ===
    Mark Millard
    marklmi at yahoo.com


    --
    () ascii ribbon campaign - for an encoding-agnostic world
    /\ - against html email - against proprietary attachments


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Mon Oct 19 17:00:05 2026
    From Newsgroup: muc.lists.freebsd.ports

    On 10/19/26 14:36, Robert Clausecker wrote:
    Hi Mark,

    Please file a bug report.

    Done. See:

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

    (I had to submit twice, the first one never showed up, even locally
    after clicking the submit button: it went back to the new bug screen
    instead. Mentioned here in case at some point 2 of them appear to exist.)

    I had previously added support for armv7, but my patches where
    dropped without checking in 79018ce2de9. It is very annoying when
    my work gets undone and I have to do it again like this.

    Reading both source code and release notes, there is no indication
    whatsoever that any native FreeBSD support was added for armv7 or
    aarch64. It is unclear to me why the maintainer claims it has been.

    Yours,
    Robert Clausecker

    On Sun, Oct 18, 2026 at 08:22:03PM -0700, Mark Millard wrote:
    The failure in the log file was:

    [ 96% 25/26] : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong
    -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong
    -fno-strict-aliasing -DNDEBUG -Xlinker
    --dependency-file=CMakeFiles/list_cpu_features.dir/link.d
    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o
    list_cpu_features
    -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build:
    libcpu_features.so && :
    FAILED: [code=1] list_cpu_features
    : && /usr/bin/cc -O2 -pipe -fPIC -fstack-protector-strong
    -fno-strict-aliasing -O2 -pipe -fPIC -fstack-protector-strong
    -fno-strict-aliasing -DNDEBUG -Xlinker
    --dependency-file=CMakeFiles/list_cpu_features.dir/link.d
    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o -o
    list_cpu_features
    -Wl,-rpath,/wrkdirs/usr/ports/devel/cpu_features/work/.build:
    libcpu_features.so && :
    ld.lld: error: undefined symbol: GetArmInfo
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumValue
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)

    ld.lld: error: undefined symbol: GetArmFeaturesEnumName
    referenced by list_cpu_features.c

    CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o:(main)
    cc: error: linker command failed with exit code 1 (use -v to see invocation) >> ninja: build stopped: subcommand failed.
    Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to >> the maintainer.
    *** Error code 1

    Stop.
    make: stopped making "build" in /usr/ports/devel/cpu_features
    --



    ===
    Mark Millard
    marklmi at yahoo.com



    --
    ===
    Mark Millard
    marklmi at yahoo.com


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.22a-Linux NewsLink 1.2