[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
releasing v0.23?
From: |
Jan Nieuwenhuizen |
Subject: |
releasing v0.23? |
Date: |
Sun, 10 Jan 2021 16:51:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Hi Danny!
You suggested a mes release. I have been waiting and hesitant because
IME we cannot assume mes is OK before gcc-4.6 has been built. Until
glibc-mesboot0 is built, we are using the mes c library.
On the current wip-arm-bootstrap, thanks to your malloc fix,
gawk-mesboot0 now builds fine \o/ and I am now working on
glibc-mesboot0.
So we cannot be 100% sure, but we're getting pretty close! I have
a mes-0.23 release prepared; see current `wip' branch and verified
it also works for the x86 bootstrap.
On the wip-arm-bootstrap front, I added an ugly hack in tcc-boot:
91287e91b4 DRAFT commencement: tcc-boot: Disable abort on divide by zero.
Apparently, when compiling glibc-2.2.5, cpp0 attempts a divide-by-zero.
Running
/gnu/store/8kxznsfcv3sr3l7d68w5580gigjpkqzg-gcc-core-mesboot0-2.95.3/lib/gcc-lib/arm-unknown-linux-gnu/2.95.3/cpp0
in gdb shows __mes_uldiv, __mes_div0 on the stack.
I have parked this for now, and found another problem; this snippet
--8<---------------cut here---------------start------------->8---
#if defined __GNUC__ && defined __GNUC_MINOR__
# define __GNUC_PREREQ(maj, min) \
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
#else
# define __GNUC_PREREQ(maj, min) 0
#endif
#if __GNUC_PREREQ (3,1) && !defined __GNUG__
#error gcc too new
#endif
--8<---------------cut here---------------end--------------->8---
compiles wrong with gcc-core-mesboot:
--8<---------------cut here---------------start------------->8---
16:34:37 janneke@novena:~/src/guix [env]
$ /gnu/store/h0v5by5fgvcqi5gkhq0yi7ma6nhyp2ql-gcc-core-mesboot0-2.95.3/bin/gcc
-S prereq.c
prereq.c:8: warning: integer constant out of range
prereq.c:8: warning: integer constant out of range
prereq.c:8: warning: integer constant out of range
prereq.c:9: #error gcc too new
[1]16:35:27 janneke@novena:~/src/guix [env]
--8<---------------cut here---------------end--------------->8---
So we're even beyond tcc-boot now and still find problems. What's the
chance this is Mes/Mes C Lib related? Do you want to help look into
this/fix this before 0.23?
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com
- releasing v0.23?,
Jan Nieuwenhuizen <=