[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: secti
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows |
Date: |
Wed, 25 Jan 2023 13:37:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29973
--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
(In reply to cqwrteur from comment #10)
> just any C++ code that would link to libstdc++
>
> #include<iostream>
>
> int main()
> {
> std::cout<<"Hello World\n";
> }
>
> For example
> remove -s -flto flags they all fail while -fuse-ld=lld would work.
I tried that, but the compilation and link still works for me. As I said
though, I am using gcc 11 not gcc 13.
(In reply to cqwrteur from comment #11)
> Does the issue come from this patch?
>
> https://github.com/mirror/mingw-w64/commit/
> fc55e181b2d84c8817e3fd9d86c6944ac709acc9
It could do - I am not familiar with the mingw-w64 runtime code, so I cannot
really say.
If you have a workaound - using lld - then I would stick with that for now.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, (continued)
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, nickc at redhat dot com, 2023/01/24
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/24
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/24
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/24
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, jwakely.gcc at gmail dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, jwakely.gcc at gmail dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows,
nickc at redhat dot com <=
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/25
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, nickc at redhat dot com, 2023/01/26
- [Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows, euloanty at live dot com, 2023/01/26