[Bug lto/108389] LTO(plugin) can not find lto-ed symbols

2023-02-18 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108389 --- Comment #4 from BBK --- I managed to save the /tmp/*.res file generated by plugin,and there's no such entry mention strnlen in it.

[Bug lto/108389] LTO(plugin) can not find lto-ed symbols

2023-02-18 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108389 --- Comment #3 from BBK --- Also since the libraries are built with fat objects,build the program with -fno-lto does success.

[Bug lto/108389] LTO(plugin) can not find lto-ed symbols

2023-02-18 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108389 --- Comment #2 from BBK --- It truly looks like a plugin problem. See the output eebssk1@dEBianKb:~/a$ ~/mingw-gcc/i686-w64-mingw32/bin/i686-w64-mingw32-gcc-nm *strnlen* T _strnlen eebssk1@dEBianKb:~/a$

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

2023-02-06 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 --- Comment #6 from BBK --- I will try modify gcc's code to simply return instead of assert error if the condition does not match to allow the compilation, and then check if the result binary still woking as expected. This is only solution I

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

2023-01-13 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 --- Comment #4 from eebssk1 at godaftwithebk dot pub --- The problem occurs at final linking. x86_64-w64-mingw32-g++ -o src/dxgi/dxgi.dll src/dxgi/dxgi.dll.p/version.o src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj

[Bug ipa/108383] g++ ICE with -O3 and -flto and -fdeclone-ctor-dtor on simple function

2023-01-13 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 --- Comment #3 from eebssk1 at godaftwithebk dot pub --- Exactly same problem with -Os on lto.(Seems reflect the problem in that github issue) The project seems only supports mingw target. I'll get back when have more information.

[Bug lto/108389] LTO(plugin) can not find lto-ed symbols

2023-01-12 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108389 --- Comment #1 from eebssk1 at godaftwithebk dot pub --- binutils version 2.39

[Bug lto/108389] New: LTO(plugin) can not find lto-ed symbols

2023-01-12 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108389 Bug ID: 108389 Summary: LTO(plugin) can not find lto-ed symbols Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug c++/108383] g++ ICE with -O3 and -flto on simple function

2023-01-12 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 --- Comment #1 from eebssk1 at godaftwithebk dot pub --- It looks like my issue is caused by a extra inconspicuous flag "-fdeclone-ctor-dtor". The program compiled succefully without it. I do use this flag on other projects,never have such

[Bug c++/108383] New: g++ ICE with -O3 and -flto on simple function

2023-01-12 Thread eebssk1 at godaftwithebk dot pub via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108383 Bug ID: 108383 Summary: g++ ICE with -O3 and -flto on simple function Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: