Building RTEMS 6 toolchain on a Mac

Karel Gardas karel at functional.vision
Wed Apr 27 06:45:25 UTC 2022


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, but after this hacking I'm no longer able 
>> to build neither 6/rtems-arm not 6/rtems-x86_64.
> 
> I changed the mpfr version from 3.1.4 to 4.1.0. This is the latest mpfr 
> release and used by the GCC contrib/download_prerequisites script 
> currently. If this version doesn't build on macOS, then it would be good 
> to submit a bug report to mpfr.

The problem is that I'm perfectly able to build 4.1.0 including 
testsuite including its run on catalina. So the problem is somewhere 
else and rsb logging was just misleading...

Karel



============================================================================
Testsuite summary for MPFR 4.1.0
============================================================================
# TOTAL: 183
# PASS:  180
# SKIP:  3
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
[tversion] MPFR 4.1.0
[tversion] Compiler: Apple LLVM 12.0.0 (clang-1200.0.32.29)
[tversion] C standard: __STDC__ = 1, __STDC_VERSION__ = 201112L
[tversion] __GNUC__ = 4, __GNUC_MINOR__ = 2
[tversion] GMP: header 6.2.1, library 6.2.1
[tversion] __GMP_CC = "gcc"
[tversion] __GMP_CFLAGS = "-O2 -pedantic -fomit-frame-pointer -m64 
-mtune=sandybridge -march=sandybridge"
[tversion] WinDLL: __GMP_LIBGMP_DLL = 0, MPFR_WIN_THREAD_SAFE_DLL = undef
[tversion] MPFR_ALLOCA_MAX = 16384
[tversion] TLS = yes, float128 = no, decimal = no, GMP internals = no
[tversion] Shared cache = no
[tversion] intmax_t = yes, printf = yes, IEEE floats = yes
[tversion] gmp_printf: hhd = yes, lld = yes, jd = yes, td = yes, Ld = yes
[tversion] _mulx_u64 = no
[tversion] MPFR tuning parameters from src/x86_64/mparam.h
[tversion] sizeof(long) = 8, sizeof(mpfr_intmax_t) = 8, sizeof(intmax_t) = 8
[tversion] GMP_NUMB_BITS = 64, sizeof(mp_limb_t) = 8
[tversion] Within limb: long = y/y, intmax_t = y/y
[tversion] _MPFR_PREC_FORMAT = 3, sizeof(mpfr_prec_t) = 8
[tversion] _MPFR_EXP_FORMAT = 3, sizeof(mpfr_exp_t) = 8
[tversion] sizeof(mpfr_t) = 32, sizeof(mpfr_ptr) = 8
[tversion] Precision range: [1,9223372036854775551]
[tversion] Max exponent range: [-4611686018427387903,4611686018427387903]
[tversion] Generic ABI code: no
[tversion] Enable formally proven code: no
[tversion] Locale: en_US.UTF-8
Making check in tune
make[1]: Nothing to be done for `check'.
Making check in tools/bench
make[1]: Nothing to be done for `check'.
make[1]: Nothing to be done for `check-am'.
me at mes-MacBook-Pro mpfr-4.1.0 %


More information about the devel mailing list