chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Always register a feature corresponding to the word size


From: Mario Domenech Goulart
Subject: [PATCH] Always register a feature corresponding to the word size
Date: Fri, 03 Apr 2020 22:57:54 +0200

Hi,

Yesterday we had a failure [1] on the 32bit salmonella Linux machine
because an egg tried to use a 32bit feature in a cond-expand clause.
Although the 64bit feature exists on 64bit platforms, the 32bit feature
doesn't exist on 32bit platforms.

I'd guess the 64bit feature was introduced back when 64bit systems were
the exception.  Nowadays 32bit systems are the exception.

Anyway, for consistency and completeness, I think it would be nice to
have a feature that matches the word size of platforms, for all
plaftorms, regardless of the word size.

Attached is a patch with a suggestion on how to achieve this.

I've tested it on Linux 32bit and 64bit.

[1] 
http://salmonella-linux-x86.call-cc.org/master-debugbuild/gcc/linux/x86/2020/04/02/salmonella-report/install/hash-trie.html

All the best.
Mario

-- 
http://parenteses.org/mario

Attachment: 0001-Always-register-a-feature-corresponding-to-the-word-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]