From nobody Mon Feb 7 20:58:31 2022 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D54B319C39AC for ; Mon, 7 Feb 2022 20:58:41 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from c3po.matrixx.ch (c3po.matrixx.ch [80.74.145.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jsz5D72kcz4lkd for ; Mon, 7 Feb 2022 20:58:40 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from [145.40.196.39] (port=36617 helo=z800.localnet) by c3po.matrixx.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1nHB5h-0008M7-R6 for freebsd-multimedia@freebsd.org; Mon, 07 Feb 2022 21:58:31 +0100 From: Florian Walpen To: freebsd-multimedia@freebsd.org Subject: Re: audio/jack does not compile under ARM/aarch64 Date: Mon, 07 Feb 2022 21:58:31 +0100 Message-ID: <2257684.THHZn3L5Ee@z800> In-Reply-To: References: List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-OutGoing-Spam-Status: No, score=-0.7 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - c3po.matrixx.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - submerge.ch X-Get-Message-Sender-Via: c3po.matrixx.ch: authenticated_id: fw@submerge.ch X-Authenticated-Sender: c3po.matrixx.ch: fw@submerge.ch X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4Jsz5D72kcz4lkd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of dev@submerge.ch designates 80.74.145.109 as permitted sender) smtp.mailfrom=dev@submerge.ch X-Spamd-Result: default: False [-2.79 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_X_SOURCE(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[submerge.ch]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_SHORT(-0.99)[-0.993]; HAS_X_GMSV(0.00)[fw@submerge.ch]; MLMMJ_DEST(0.00)[freebsd-multimedia]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21069, ipnet:80.74.144.0/20, country:CH]; RCVD_COUNT_TWO(0.00)[2]; HAS_X_AS(0.00)[fw@submerge.ch] X-ThisMailContainsUnwantedMimeParts: N Hi Jos=E9, On Monday, February 7, 2022 7:20:45 PM CET Jos=E9 P=E9rez wrote: > Hi, > audio/jack does not compile under ARM/aarch64 and outputs: >=20 > 19:13:23 runner ['c++', '-O2', '-pipe', '-fPIC', > '-fstack-protector-strong', '-fno-strict-aliasing', '-Wall', > '-Wno-invalid-offsetof', '-std=3Dgnu++11', '-fPIC', '-Ifreebsd', > '-I../freebsd', '-Iposix', '-I../posix', '-Icommon', '-I../common', > '-Icommon/jack', '-I../common/jack', '-I.', '-I..', > '-I../compat/alloca', '-I../../../../../../local/include/opus', > '-I../../../../../../local/include', > '-I../../../../../../local/include/dbus-1.0', > '-I../../../../../../local/lib/dbus-1.0/include', '-DEXECINFO=3D1', > '-DHAVE_LIBSYSINFO=3D1', '-DHAVE_DOXYGEN=3D0', '-DHAVE_ALSA=3D1', > '-DHAVE_FIREWIRE=3D0', '-DHAVE_IIO=3D0', '-DHAVE_PORTAUDIO=3D0', > '-DHAVE_WINMME=3D0', '-DHAVE_CELT=3D0', '-DHAVE_EXAMPLE_TOOLS=3D0', > '-DHAVE_OPUS_OPUS_CUSTOM_H=3D1', '-DHAVE_OPUS_PKG=3D1', '-DHAVE_OPUS=3D1', > '-DHAVE_SAMPLERATE=3D1', '-DHAVE_SNDFILE=3D0', '-DHAVE_READLINE=3D0', > '-DHAVE_SYSTEMD=3D0', '-DHAVE_DB_H=3D1', '-DHAVE_DB=3D0', '-DHAVE_ZALSA= =3D0', > '-DHAVE_PPOLL=3D1', '-DHAVE_EXECINFO_H=3D1', '-DJACK_VERSION=3D"[]"', > '-DHAVE_DBUS_1=3D1', '-DHAVE_EXPAT=3D1', '-DUSE_LIBDBUS_AUTOLAUNCH=3D1', > '-DCLIENT_NUM=3D256', '-DPORT_NUM_FOR_CLIENT=3D2048', > '-DADDON_DIR=3D"/usr/local/lib/jack"', '-DJACK_LOCATION=3D"/usr/local/bin= "', > '-DUSE_POSIX_SHM=3D1', '-DJACKMP=3D1', '-DJACK_DBUS=3D1', '-DHAVE_CONFIG_= H', > '-DSERVER_SIDE', '../posix/JackSocketServerNotifyChannel.cpp', '-c', > '-o/usr/ports/audio/jack/work/jack2-1.9.20/build/posix/JackSocketServerNo= tif > yChannel.cpp.2.o', '-I/usr/local/include'] > In file included from ../common/JackTransportEngine.cpp:24: > ../common/JackEngineControl.h:67:5: error: requested alignment is less > than minimum alignment of 8 for type 'Jack::JackTransportEngine' > alignas(UInt32) JackTransportEngine fTransport; > ^ > ../common/JackEngineControl.h:89:5: error: requested alignment is less > than minimum alignment of 8 for type 'Jack::JackFrameTimer' > alignas(UInt32) JackFrameTimer fFrameTimer; > ^ thanks for the report, this is a known problem and I am working on it: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261508 Still waiting for upstream to test my solution on MacOS with rosetta. In th= e=20 meantime you can download my patch there (apply with "git am"): https://bz-attachments.freebsd.org/attachment.cgi?id=3D231525 >=20 > There is a mention to a similar issue under powerpc and powerpc64, but > there is no indication on how to solve it. The powerpc architectures use GCC as a workaround, in current ports tree. >=20 > Can someone point me toward a solution? >=20 > Thank you. >=20 > BR, Regards, =46lo