public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris
@ 2022-03-01 12:20 ro at gcc dot gnu.org
2022-03-01 12:21 ` [Bug d/104738] " ro at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
Bug ID: 104738
Summary: gdc.test/runnable_cxx/stdint.d FAILs on Solaris
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: *-*-solaris2.11
Since 20211130, gdc.test/runnable_cxx/stdint.d FAILs on Solaris:
+UNRESOLVED: gdc.test/runnable_cxx/stdint.d compilation failed to produce
executable
+UNRESOLVED: gdc.test/runnable_cxx/stdint.d -shared-libphobos compilation
failed to produce executable
For 32-bit:
Undefined first referenced
symbol in file
_Z15testCppI8Mangleahahah /var/tmp//ccRc3mTc.o
ld: fatal: symbol referencing errors
This is
testCppI8Mangle(signed char, unsigned char, signed char, unsigned char, signed
char, unsigned char)
while stdint.d has
int testCppI8Mangle (int8_t, uint8_t, int_least8_t, uint_least8_t,
int_fast8_t, uint_fast8_t);
E.g. int8_t on Solaris is char because char is signed by default.
64-bit:
Undefined first referenced
symbol in file
_Z15testCppI8Mangleahahah /var/tmp//ccgtdvZb.o
_Z16testCppI16Mangleststlm /var/tmp//ccgtdvZb.o
_Z16testCppI32Mangleijijlm /var/tmp//ccgtdvZb.o
ld: fatal: symbol referencing errors
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
@ 2022-03-01 12:21 ` ro at gcc dot gnu.org
2022-03-01 21:13 ` ibuclaw at gdcproject dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2022-03-01 12:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
2022-03-01 12:21 ` [Bug d/104738] " ro at gcc dot gnu.org
@ 2022-03-01 21:13 ` ibuclaw at gdcproject dot org
2022-03-02 9:58 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-01 21:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://issues.dlang.org/sh
| |ow_bug.cgi?id=22834
--- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
In upstream druntime, stdint aliases were refactored to commonize so-called
"platform-independent" typedefs.
As you've pointed out, none of the stdint types are platform independent at
all. i.e: Compare any `<target>-stdint.h' header.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
2022-03-01 12:21 ` [Bug d/104738] " ro at gcc dot gnu.org
2022-03-01 21:13 ` ibuclaw at gdcproject dot org
@ 2022-03-02 9:58 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-03-02 22:20 ` joseph at codesourcery dot com
2022-03-13 13:18 ` ibuclaw at gdcproject dot org
4 siblings, 0 replies; 6+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2022-03-02 9:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
> In upstream druntime, stdint aliases were refactored to commonize so-called
> "platform-independent" typedefs.
>
> As you've pointed out, none of the stdint types are platform independent at
> all. i.e: Compare any `<target>-stdint.h' header.
Right, and those differences usually are usually dictated by the various
psABIs and cannot be changed. Quirks like char being signed on Solaris
may be uncommon, but well within the standard's requirements. I had a
couple of related issues in LLVM e.g.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
` (2 preceding siblings ...)
2022-03-02 9:58 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2022-03-02 22:20 ` joseph at codesourcery dot com
2022-03-13 13:18 ` ibuclaw at gdcproject dot org
4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2022-03-02 22:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
char having the same set of values as signed char is valid.
char is not however a "signed integer type" within the meaning of the
standard, and so is never a valid definition of int8_t, despite Solaris
using that definition.
https://gcc.gnu.org/legacy-ml/gcc/2009-04/msg00249.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug d/104738] gdc.test/runnable_cxx/stdint.d FAILs on Solaris
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
` (3 preceding siblings ...)
2022-03-02 22:20 ` joseph at codesourcery dot com
@ 2022-03-13 13:18 ` ibuclaw at gdcproject dot org
4 siblings, 0 replies; 6+ messages in thread
From: ibuclaw at gdcproject dot org @ 2022-03-13 13:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104738
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
Fix committed in r12-7636.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-03-13 13:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 12:20 [Bug d/104738] New: gdc.test/runnable_cxx/stdint.d FAILs on Solaris ro at gcc dot gnu.org
2022-03-01 12:21 ` [Bug d/104738] " ro at gcc dot gnu.org
2022-03-01 21:13 ` ibuclaw at gdcproject dot org
2022-03-02 9:58 ` ro at CeBiTec dot Uni-Bielefeld.DE
2022-03-02 22:20 ` joseph at codesourcery dot com
2022-03-13 13:18 ` ibuclaw at gdcproject dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).