GNU bug report logs - #57109
arm-none-eabi-toolchain atomic support is broken

Previous Next

Package: guix;

Reported by: Jean Pierre De Jesus DIAZ <me <at> jeandudey.tech>

Date: Wed, 10 Aug 2022 11:16:02 UTC

Severity: normal

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Csepp <raingloom <at> riseup.net>
To: Jean Pierre De Jesus DIAZ <me <at> jeandudey.tech>
Cc: bug-guix <at> gnu.org, 57109 <at> debbugs.gnu.org
Subject: Re: bug#57109: arm-none-eabi-toolchain atomic support is broken
Date: Thu, 18 Aug 2022 16:24:01 +0200
Jean Pierre De Jesus DIAZ via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> The following works though. No newlib or anything:
>
> guix shell --expression='((@ (gnu packages cross-base) cross-gcc) "arm-none-eabi")' -- \
>    bash -c "echo '#include <stdatomic.h>' \
>  | arm-none-eabi-gcc -x c -o /dev/null -c -"
>
>
> —
> Jean-Pierre De Jesus DIAZ
>
>
> ------- Original Message -------
> On Wednesday, August 10th, 2022 at 1:14 PM, Jean Pierre De Jesus DIAZ <me <at> jeandudey.tech> wrote:
>
>
>> The atomic supports for this toolchain is broken:
>> 
>> A minimal test case:
>> 
>> guix shell arm-none-eabi-toolchain -- \
>> bash -c "echo '#include <stdatomic.h>' \
>> 
>> | arm-none-eabi-gcc -x c -o /dev/null -c -"
>> 
>> Something similar found online:
>> 
>> https://sourceware.org/legacy-ml/newlib/2017/msg00150.html
>> 
>> However no solution.
>> 
>> This happens with all versions of the arm-none-eabi-toolchain
>> packages.
>> 
>> —
>> Jean-Pierre De Jesus DIAZ

Might be a good idea to add a (regression) test for this in advance.
Wish I could help, but my expermientation with cross compilation with
Guix were largely fruitless.




This bug report was last modified 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.