[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Regression building GMP with tcc, bisected
From: |
Vincent Lefevre |
Subject: |
Re: [Tinycc-devel] Regression building GMP with tcc, bisected |
Date: |
Mon, 6 Jul 2020 10:55:51 +0200 |
User-agent: |
Mutt/1.14.5+76 (bb407ec3) vl-127292 (2020-06-24) |
On 2020-07-05 21:22:27 -0400, John Scott wrote:
> tcc 0.9.27 works, but current mob fails during GMP's configure step. For GMP
> I
> use --disable-assembly and --disable-static, and it fails on
> checking how to define a 32-bit word... configure: error: cannot determine
> how
> to define a 32-bit word
The issue is that in the GMP test with the new tcc,
$gmp_cv_asm_label_suffix is empty instead of being ":", so that
the generated conftest.s is wrong and fails to assemble.
for gmp_tmp_op in .long .word data4; do
cat >conftest.s <<EOF
$gmp_cv_asm_data
$gmp_cv_asm_globl foo
$gmp_tmp_op 0
foo$gmp_cv_asm_label_suffix
$gmp_cv_asm_byte 0
EOF
With the old tcc:
configure:25708: checking for assembler label suffix
trying
configure:25721: tcc -c conftest.s >conftest.out 2>&1
configure:25724: $? = 1
conftest.s:2: error: unknown opcode 'somelabel'
configure: failed program was:
.text
somelabel
conftest.s:2: error: unknown opcode 'somelabel'
trying :
configure:25721: tcc -c conftest.s >conftest.out 2>&1
configure:25724: $? = 0
configure:25744: result: :
With the new one:
configure:25708: checking for assembler label suffix
trying
configure:25721: tcc -c conftest.s >conftest.out 2>&1
configure:25724: $? = 0
configure:25744: result:
So, the issue is that the program
.text
somelabel
should fail while it doesn't (indeed, it does with gcc and old tcc,
but doesn't with the mod branch).
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- [Tinycc-devel] Regression building GMP with tcc, bisected, John Scott, 2020/07/05
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected,
Vincent Lefevre <=
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, Herman ten Brugge, 2020/07/06
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, Michael Matz, 2020/07/06
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, Herman ten Brugge, 2020/07/06
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, grischka, 2020/07/06
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, Michael Matz, 2020/07/06
- Re: [Tinycc-devel] Regression building GMP with tcc, bisected, ian, 2020/07/07