🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.stable
2 messages
2 total messages Started by Pete French Fri, 13 Nov 2026 11:15
Putting a CPUTYPE in /etc/make.conf breaks arm64 build for me
#40
Author: Pete French
Date: Fri, 13 Nov 2026 11:15
39 lines
4856 bytes
I have, in /etc/make.conf, this:

CPUTYPE?=armv8.2-a

Which has worked fine in the past, and the last build I did with this 
was in mid October, so only a few weeks ago. Updated to the latest 
stable yesteday, and now the build breaks.

In file included from 
/usr/src/contrib/libarchive/libarchive/archive_crc32.c:46:
/usr/lib/clang/21/include/arm_acle.h:835:8: error: a function 
declaration without a prototype is deprecated in all versions of
       C [-Werror,-Wstrict-prototypes]
   835 | __gcspr() {
       |        ^
/usr/lib/clang/21/include/arm_acle.h:840:10: error: a function 
declaration without a prototype is deprecated in all versions of
       C [-Werror,-Wstrict-prototypes]
   840 | __gcspopm() {
       |          ^
2 errors generated.
*** Error code 1


It does not break if I dont have anything set in /etc/make.conf, but 
other parts of my setup are looking for the line there, so I need 
something unfortunately.

This seems surprising to me though, to the point where I cna believe its 
not something to do with my setup. Anyone got any suggestins ? I checked 
that header agaibst the version included in /usr/src and they are the 
same, so its not a case of me needing to copy them over.

-pete.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Putting a CPUTYPE in /etc/make.conf breaks arm64 build for me
#41
Author: Dag-Erling Smørgrav
Date: Fri, 13 Nov 2026 12:33
30 lines
2982 bytes
Pete French <pete@twisted.org.uk> writes:
> In file included from
> /usr/src/contrib/libarchive/libarchive/archive_crc32.c:46:
> /usr/lib/clang/21/include/arm_acle.h:835:8: error: a function
> declaration without a prototype is deprecated in all versions of
>       C [-Werror,-Wstrict-prototypes]
>   835 | __gcspr() {
>       |        ^
> /usr/lib/clang/21/include/arm_acle.h:840:10: error: a function
> declaration without a prototype is deprecated in all versions of
>       C [-Werror,-Wstrict-prototypes]
>   840 | __gcspopm() {
>       |          ^
> 2 errors generated.
> *** Error code 1

This is a bug in a header provided by the compiler, see
<https://github.com/llvm/llvm-project/pull/242286> and
<https://reviews.freebsd.org/D61503>.  You can work around it by
applying my patch to your tree and / or manually editing the installed
version.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads