From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 3048 invoked from network); 23 Apr 2020 02:05:55 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with UTF8ESMTPZ; 23 Apr 2020 02:05:55 -0000 Received: (qmail 32537 invoked by uid 550); 23 Apr 2020 02:05:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 32503 invoked from network); 23 Apr 2020 02:05:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snnap-net.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=jEukJpPAHNQwfDe5wSmeXRSdkf5RJHJftNgqq1x/jK0=; b=hVgy5FCDihJ6EgLutYQRqVa19Xozi4yeOQ7XTygI8OcnYFshmKJaSVnH7h8NYHQlaJ kLBNuks03WkG5YeoYDHvpiHTzxYgU7ofcqkv7fduKOcxZf6fldkYW+XhtSvMG8Tsm50h JytcUNuFT1uD47fC3F5wH8P9tGvGRJ+qK55AiRV7aywnsynY0Ask8JhQl/iOwynlY9lc BXnmPum509xpre0OMUcvRjI8CLGK1k3umPSfr0o3DCCF1n5PTZJcIOdFTRVJyk/TsXOo 9NhdN5wWEtjP69hyuaAa/YJ3TalCx/Ktd2ZH1RNZgz4HLPeST8jElhE146U3zxLZFh51 hRVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jEukJpPAHNQwfDe5wSmeXRSdkf5RJHJftNgqq1x/jK0=; b=Td+FowLQo/589ozSDtIseel/7zfpVQn8dw2Q35POkJeZWrsn73FuHZl3RyYPojXZI8 23gNutVpbW8nhiK2n8zU4vsiKSr8DEYAgBcVB0oh47DRRM/gY5PR18qGlW/bnrH4x/Ep u8eq4q/FMe446/k+uwDTxzMS1igDam6EvLy9WeVFO2mG7aPVqBEwb6ZhRrHRg+G3eqV7 Eh5CHWZ6VHgU1sHFfPAjxTAEDetUJIofgGqOMuebIn0b1uppCkAHV690wN4B+6XZLtdI hbgy/tNVsTXNMzDuYaFkLym6qbzsskhooBOAe+zoJOFY6EoBFpFH3suaFFZ7sPNjt4/6 gS0Q== X-Gm-Message-State: AGi0PuYcOQim1+qHSVmTZmDgJ+aobYpVzLE0DLRrC0L3/GVwAemA+XjJ 2cIRnvTQVco5I8WpZYM4TY3zX2fIH4aLaLleP4+iCiNf2LUU6w== X-Google-Smtp-Source: APiQypL/b2Cd5a1MWYNL5vjULUQW7gGm8fNhFM8jbZVD39WZ5az++vdMxHcadIX7IkCwX69m4KSALGb/43eNCC4ZuDU= X-Received: by 2002:a67:bd07:: with SMTP id y7mr1396646vsq.109.1587607538628; Wed, 22 Apr 2020 19:05:38 -0700 (PDT) MIME-Version: 1.0 From: Tom Storey Date: Thu, 23 Apr 2020 12:05:27 +1000 Message-ID: To: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000620bb305a3ebafa8" Subject: [musl] Building for m68k --000000000000620bb305a3ebafa8 Content-Type: text/plain; charset="UTF-8" Hi all. Is anyone out there particularly familiar with building musl for the m68k? I was able to successfully build it, but then later discovered that it would appear to be targeting 68020+ processors more specifically. I would like to build for the earlier 680[01]0's. Specific examples are to do with (at least) aio where some atomic instructions are used (e.g. cas - compare and swap) which only exist for the 68020 and later, but not for earlier processors. https://git.musl-libc.org/cgit/musl/tree/src/aio/aio.c#n375 https://git.musl-libc.org/cgit/musl/tree/arch/m68k/atomic_arch.h Thus, adding -m68000 to the CFLAGS env variable when trying to do a rebuild results in a failure complaining that the 68020+ is required. I dont know what else is hiding away in the rest of it that will also be incompatible... :-) Any suggestions, pointers, tips would be greatly appreciated. Thanks Tom --000000000000620bb305a3ebafa8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all.

Is anyone out there particularl= y familiar with building musl for the m68k?

I was = able to successfully build it, but then later discovered that it would appe= ar to be targeting 68020+ processors more specifically. I would like to bui= ld for the earlier 680[01]0's.

Specific exampl= es are to do with (at least) aio where some atomic instructions are used (e= .g. cas - compare and swap) which only exist for the 68020 and later, but n= ot for earlier processors.


Thus, adding -m68000 to the CFLAGS env variable when trying to do a rebui= ld results in a failure complaining that the 68020+ is required. I dont kno= w what else is hiding away in the rest of it that will also be incompatible= ... :-)

Any suggestions, pointers, tips would be g= reatly appreciated.

Thanks
Tom
--000000000000620bb305a3ebafa8--