Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc4.8.2 install failed on fedora22 #15

Open
tingzhao opened this issue Oct 14, 2015 · 1 comment
Open

gcc4.8.2 install failed on fedora22 #15

tingzhao opened this issue Oct 14, 2015 · 1 comment

Comments

@tingzhao
Copy link

Fetching packages ...
gcc-4.8.2.99-l 100% |################################| Time: 0:00:51   5.72 MB/s
Extracting packages ...
[      COMPLETE      ]|###################################################| 100%
Linking packages ...
gcc: fatal error: braced spec ‘%:sanitize(address):%{!shared:libasan_preinit%O%s} %{static-libasan:%{!shared:-Bstatic --whole-archive -lasan --no-whole-archive -Bdynamic}}%{!static-libasan:-lasan}}     %{%:sanitize(thread):%{static-libtsan:%{!shared:-Bstatic --whole-archive -ltsan --no-whole-archive -Bdynamic}}%{!static-libtsan:-ltsan}}     %{%:sanitize(leak):%{static-liblsan:%{!shared:-Bstatic --whole-archive -llsan --no-whole-archive -Bdynamic}}%{!static-liblsan:-llsan}}’ is invalid at ‘%’
compilation terminated.
Installation failed: gcc is not able to compile a simple 'Hello, World' program.
Error: Error: post-link failed for: gcc-4.8.2.99-linux_portable           |   0%
@luckyho
Copy link

luckyho commented Dec 8, 2022

try this method
replace %:sanitize(address) to fsanitize=address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants