Re: Building RTEMS 6 toolchain on a Mac

2022-04-28 Thread Heinz Junkes
Hallo Sebastian, maybe too late, but this is the result of RTEMS 7 rsb on my Mac: Command Line: ../source-builder/sb-set-builder --jobs=4 --prefix=/Users/heinz/VE/ARM_WORK/rtems/7 7/rtems-arm Python: 3.8.5 (default, Sep 4 2020, 02:22:02) [Clang 10.0.0 ] https://github.com/RTEMS/rtems-source-

Re: Building RTEMS 6 toolchain on a Mac

2022-04-27 Thread Karel Gardas
On 4/27/22 08:48, Sebastian Huber wrote: On 27.04.22 08:45, Karel Gardas wrote: On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Sebastian Huber
On 27.04.22 08:45, Karel Gardas wrote: On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the p

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Karel Gardas
On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the problem. Not sure if this is related,

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Sebastian Huber
On 27.04.22 07:46, Karel Gardas wrote: On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the p

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Chris Johns
On 27/4/2022 3:18 pm, Sebastian Huber wrote: > On 27.04.22 06:51, Chris Johns wrote: >> On 27/4/2022 2:46 pm, Sebastian Huber wrote: >>> On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: > Hello Heinz, > > you are probably one of the first persons buil

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Karel Gardas
On 4/27/22 06:46, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the problem. Not sure if this is related,

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Sebastian Huber
On 27.04.22 06:51, Chris Johns wrote: On 27/4/2022 2:46 pm, Sebastian Huber wrote: On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Chris Johns
On 27/4/2022 2:46 pm, Sebastian Huber wrote: > On 26.04.22 22:57, Karel Gardas wrote: >> On 4/25/22 10:10, Sebastian Huber wrote: >>> Hello Heinz, >>> >>> you are probably one of the first persons building GCC 12 on this platform. >>> I >>> checked in a change which could fix the problem. >>> >> >

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Sebastian Huber
On 26.04.22 22:57, Karel Gardas wrote: On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the problem. Not sure if this is related, but after this hacking I'm no longer able

Re: Building RTEMS 6 toolchain on a Mac

2022-04-26 Thread Karel Gardas
On 4/25/22 10:10, Sebastian Huber wrote: Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the problem. Not sure if this is related, but after this hacking I'm no longer able to build neither 6/rtems-arm not 6/rte

Re: Building RTEMS 6 toolchain on a Mac

2022-04-25 Thread Sebastian Huber
Hello Heinz, you are probably one of the first persons building GCC 12 on this platform. I checked in a change which could fix the problem. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 f

Re: Building RTEMS 6 toolchain on a Mac

2022-04-24 Thread Heinz Junkes
Hello Sebastian, unfortunately I could not build rtems7 on the Mac (as I can for rtems6): Cloning into 'rsb'... RTEMS Source Builder - Set Builder, 6 (376bf3247498) Build Set: 7/rtems-arm config: devel/dtc-1.6.1-1.cfg package: dtc-1.6.1-x86_64-apple-darwin21.4.0-1 Creating source directory: source

Re: Building RTEMS 6 toolchain on a Mac

2022-04-22 Thread Sebastian Huber
On 22/04/2022 08:55, Sebastian Huber wrote: Could GCC be upgraded to 11.2 or 12.0 which should be available very soon? are the patches still needed? It is still undecided which GCC version will be used for RTEMS 6. GCC 10 will reach its end of life with the next release this year. GCC 12 would

Re: Building RTEMS 6 toolchain on a Mac

2022-04-22 Thread Cedric Berger
Hmm, which version of clang do you have? are you up-to-date with XCode? $ cc --version Apple clang version 13.1.6 (clang-1316.0.21.2.3) Target: arm64-apple-darwin21.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Cedr

Re: Building RTEMS 6 toolchain on a Mac

2022-04-22 Thread Heinz Junkes
I'm going to slip into the thread here. I could successfully build rtems6 for arm on the M1 Mac yesterday evening. git clone https://github.com/RTEMS/rtems-source-builder.git rsb cd rsb cd rtems ../source-builder/sb-set-builder --jobs=4 --prefix=${RTEMS_ROOT} ${RTEMS_VERSION}/rtems-arm One pro

Re: Building RTEMS 6 toolchain on a Mac

2022-04-21 Thread Sebastian Huber
On 18/04/2022 21:01, Cedric Berger wrote: Hello, On 11.04.22 00:37, Chris Johns wrote: I suspect we will need a later version of expat that has the aarch64 support. I do not have access access to an M1 Mac so I cannot test this. Chris So I tried to compile RTEMS 6 for arm on MacOS for both

Building RTEMS 6 toolchain on a Mac

2022-04-18 Thread Cedric Berger
Hello, On 11.04.22 00:37, Chris Johns wrote: I suspect we will need a later version of expat that has the aarch64 support. I do not have access access to an M1 Mac so I cannot test this. Chris So I tried to compile RTEMS 6 for arm on MacOS for both the M1 and Intel architecture. It was not v