bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/32110] gprofng segfaults on parsing DWARF of clang++ 18.1.3


From: vladimir.mezentsev at oracle dot com
Subject: [Bug gprofng/32110] gprofng segfaults on parsing DWARF of clang++ 18.1.3 produced binary
Date: Mon, 16 Sep 2024 21:18:04 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32110

--- Comment #7 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
 I cannot build. Looks like I need some additional installation:
% ../../mx/mx --env ce-python build --dep PYTHON_JAVA_STANDALONE_SVM_JAVA24
<...>
Traceback (most recent call last):
  File
"<...>/graalpython/graalpython/com.oracle.graal.python.pegparser.generator/main_parser_gen.py",
line 45, in <module>
    from pegen.build import generate_token_definitions
  File
"<...>/graalpython/graalpython/com.oracle.graal.python.pegparser.generator/pegen/build.py",
line 13, in <module>
    from pegen.c_generator import CParserGenerator
  File
"<...>/graalpython/graalpython/com.oracle.graal.python.pegparser.generator/pegen/c_generator.py",
line 8, in <module>
    from dataclasses import dataclass, field
ModuleNotFoundError: No module named 'dataclasses'
ninja: build stopped: subcommand failed.


Also I can't compile the attached .ii file:
% clang++ launcher.ii
In file included from
/home/tim/dev/graal/sdk/src/org.graalvm.launcher.native/src/launcher.cc:49:
In file included from
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/string:573:
In file included from
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/__algorithm/remove.h:12:
In file included from
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/__algorithm/find.h:23:
In file included from
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/__string/constexpr_c_functions.h:15:
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/__type_traits/datasizeof.h:32:44:
error: '_Tp' does not refer to a value
   32 |   static const size_t value = __datasizeof(_Tp);
      |                                            ^
/home/tim/dev/graal/sdk/mxbuild/linux-amd64/LLVM_TOOLCHAIN/bin/../include/c++/v1/__type_traits/datasizeof.h:29:17:
note: declared here
   29 | template <class _Tp>
      |                 ^
1 error generated.


I use:
% clang++ --version
clang version 17.0.6 (Red Hat 17.0.6-1.0.1.module+el8.10.0+90260+0be6147c)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /bin

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]