g++ 4.8.2: mangled symbol not demangled by c++filt

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

 



Hello

I have a unresolved reference at link time:

_ZN3SPL6Parser15CompilationUnitIP5ValueIiEEEPN3AST15CompilationUnitIT_IDpT0_EEEv

Any idea what could be the reason why the c++filt does not demangled this reference?


Here the log
Invoking: Cygwin C++ Linker
g++ -o "SPLC-jtb.exe" ./vst/Error.o ./vst/NoSuchElementException.o ./jcc/CharStream.o ./jcc/ParseException.o ./jcc/Parser.o ./jcc/ParserTokenManager.o ./jcc/Token.o ./jcc/TokenMgrError.o ./cpp/Foo.o ./cpp/Interpreter.o ./cpp/SPL.o ./cpp/Value.o
./cpp/SPL.o: In function `main':
/cygdrive/z/DEV/LLVM/x64/SPLC-jtb/Debug/../cpp/SPL.cpp:62: undefined reference to `_ZN3SPL6Parser15CompilationUnitIP5ValueIiEEEPN3AST15CompilationUnitIT_IDpT0_EEEv'
makefile:47: recipe for target 'SPLC-jtb.exe' failed
/cygdrive/z/DEV/LLVM/x64/SPLC-jtb/Debug/../cpp/SPL.cpp:62:(.text+0x1c7): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ZN3SPL6Parser15CompilationUnitIP5ValueIiEEEPN3AST15CompilationUnitIT_IDpT0_EEEv'
collect2: error: ld returned 1 exit status
make: *** [SPLC-jtb.exe] Error 1


$ g++ --version
g++ (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

TIA

Francis





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux