Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
Bug 247 - __va_list C++ mangling broken on ARM
Summary: __va_list C++ mangling broken on ARM
Status: RESOLVED FIXED
Alias: None
Product: GDC
Classification: Unclassified
Component: gdc (show other bugs)
Version: development
Hardware: ARM Linux
: --- normal
Assignee: Iain Buclaw
URL:
Depends on:
Blocks:
 
Reported: 2016-10-30 10:10 CET by Johannes Pfau
Modified: 2017-07-18 23:23 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Pfau 2016-10-30 10:10:51 CET
https://github.com/D-Programming-GDC/GDC/pull/252

/tmp/ccKMJDyv.o: In function `myprintf(char const*, ...)':
cppa.d:(.text+0xcdc): undefined reference to `myvprintf(char const*, __va_list)'
/tmp/ccWjjwHd.o: In function `myvprintf(char const*, std::__va_list)':
cppb.cpp:(.text+0x52c): undefined reference to `myvprintfx(char const*, std::__va_list)'
collect2: error: ld returned 1 exit status
compiler exited with status 1
PASS: runnable/cppa.d (test for excess errors)

> Yes, it is indeed given an std namespace on arm. This is something to handle in a hook like Target::mangle in the frontend.
Comment 1 Iain Buclaw 2017-07-18 23:23:55 CEST
https://github.com/D-Programming-GDC/GDC/pull/521