Overview
| Artifact ID: | 0daef1ee6bd4d7c83c17aba61566b67db7b330bfc8654b763cd067d99754ad75 |
|---|---|
| Ticket: | a606b0a528ebb1b1ecbe9813d1f5947cca63bbee
Tcl 9.0 fails to build from source for big-endian architectures |
| User & Date: | anonymous on 2023-11-26 19:05:00 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Currently, Tcl 9 fails to build from source on big-endian architecture with the following error messages: In file included from /<<PKGBUILDDIR>>/generic/tclUtf.c:12: /<<PKGBUILDDIR>>/generic/tclInt.h:4644:43: error: expected declaration specifiers or ‘...’ before ‘(’ token 4644 | # define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) | ^ /<<PKGBUILDDIR>>/generic/tclUtf.c:1878:1: note: in expansion of macro ‘TclUniCharNcmp’ 1878 | TclUniCharNcmp( | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/generic/tclInt.h:4644:48: error: expected declaration specifiers or ‘...’ before ‘(’ token 4644 | # define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) | ^ /<<PKGBUILDDIR>>/generic/tclUtf.c:1878:1: note: in expansion of macro ‘TclUniCharNcmp’ 1878 | TclUniCharNcmp( | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/generic/tclInt.h:4644:53: error: expected declaration specifiers or ‘...’ before ‘(’ token 4644 | # define TclUniCharNcmp(cs,ct,n) memcmp((cs),(ct),(n)*sizeof(Tcl_UniChar)) | ^ /<<PKGBUILDDIR>>/generic/tclUtf.c:1878:1: note: in expansion of macro ‘TclUniCharNcmp’ 1878 | TclUniCharNcmp( | ^~~~~~~~~~~~~~ (full log can be found at [Debian buildd log site](https://buildd.debian.org/status/fetch.php?pkg=tcl9.0&arch=s390x&ver=9.0.0%7Eb1%7Erc0%2Bdfsg-1&stamp=1701016509&raw=0)) As far as I can see, the macro definition of TclUniCharNcmp from tclInt.h (line 4644) clashes with the function definition with the same name in tclUtf.c (line 1878). The bug didn't show in Tcl 8.* because they set TCL_UTF_MAX=3 while TCL_UTF_MAX=4 for Tcl 9. - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "07bcf89c4057d2d0e00473ab972eef3274af2d93"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to:
Tcl 9.0 fails to build from source for big-endian architectures
- type changed to: "Bug"