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

GCC 12 compilation error #32

Open
shadichy opened this issue Aug 1, 2022 · 0 comments
Open

GCC 12 compilation error #32

shadichy opened this issue Aug 1, 2022 · 0 comments

Comments

@shadichy
Copy link

shadichy commented Aug 1, 2022

Output of gcc --version:

gcc (GCC) 12.1.0
Copyright (C) 2022 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.

At libsystemback (with GCC 12):

g++ -Wl,-Bsymbolic-functions -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -Wl,-O1 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -flto=4 -fno-fat-lto-objects -fuse-linker-plugin -shared -fPIC -Wl,-soname,libsystemback.so.1 -o libsystemback.so.1.0.0 sblib.o qrc_version.o  -lmount -lblkid -lparted /usr/lib/libQt5Core.so -lpthread    
g++: internal compiler error: Segmentation fault signal terminated program lto1
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://bugs.archlinux.org/> for instructions.
lto-wrapper: fatal error: g++ returned 4 exit status
compilation terminated.
/usr/bin/ld.gold: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:407: libsystemback.so.1.0.0] Error 1

With GCC 11 it's compiled without any problem

OS:

OS: Garuda Linux x86_64 
Host: 82H8 IdeaPad 3 15ITL6 
Kernel: 5.18.14-1-clear 
Uptime: 4 hours, 47 mins 
Packages: 2246 (pacman), 614 (dpkg), 215 (rpm), 6 (flatpak), 7 (snap), (**And please don't ask why**)
DE: Cutefish 
CPU: 11th Gen Intel i3-1115G4 (4) @ 1.100GHz 
GPU: Intel Device 9a78 
Memory: 5588MiB / 7749MiB 
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

1 participant