-L--demangle=dlang doesn't work
Nicholas Wilson
iamthewilsonator at hotmail.com
Sat Jan 6 07:40:40 UTC 2018
On Saturday, 6 January 2018 at 05:44:28 UTC, Venkat wrote:
> Why does gcc say "unknown demangling style `dlang'" ? Do I need
> GDC for demangling to work ?
>
>
> 85198AB7DE24894B5F742FBD5/libvibe-d_data.a
> /home/venkat/.dub/packages/vibe-d-0.8.2/vibe-d/utils/.dub/build/library-unittest-linux.posix-x86_64-dmd_2077-B9AE30DD34FDC5ADDE81E208F10DF014/libvibe-d_utils.a -L--no-as-needed -L--demangle=dlang -L-lsqlite3 -L-levent_pthreads -L-levent -L-lssl -L-lcrypto -L-ldl -g
> /usr/bin/ld: unknown demangling style `dlang'
> collect2: error: ld returned 1 exit status
> Error: linker exited with status 1
> FAIL
> .dub/build/webmarx-test-application-unittest-linux.posix-x86_64-dmd_2077-C5DB1ABAED0A1191C5B2ACAFDC70EAC6/ webmarx-test-application executable
> dmd failed with exit code 1.
> Full exception:
> object.Exception at source/dub/compilers/compiler.d(115): dmd
> failed with exit code 1.
I'm not familiar with that flag maybe you have to register
ddmangle with it? But failing all else you can pipe the output
through ddmangle.
More information about the Digitalmars-d-learn
mailing list