Comments (11)
Thanks for checking out the script and reporting the bug. I will look into this and get back you asap.
from archypie-setup.
Yes it is strange how that flag has crept in there. I will see what I can find out. I confess I have yet to use EndeavorOS but this gives me an excuse to try it out.
from archypie-setup.
Hello, I built Skyscraper on Arch Linux and I can see that LTO is enabled by default. I am using a Gen 3 Intel i5 CPU on a laptop and the build time seemed reasonably quick even with LTO enabled. Is there any particular reason it needs to be disabled for you? I am guessing it causes issues on a Raspberry Pi. Please confirm, thank you.
from archypie-setup.
No no you must've misunderstood me.
- Not using a Raspberry Pi^^ Using an Intel Xeon Machine. Also I'm using EndeavourOS btw.
- Its not that I want lto disabled. but as you can see at the command line it uses 2 different arguments:
-fno-lto [...] -flto=4 -fno-fat-lto-objects
this causes a huge problem while compiling. Since it doesn't generate lto files but the linker then requires LTO files..
And no I have no idea where -fno-lto comes from its a clean Endeavour install with only Archypie installed. All I can say is that using the same command line as the script but removing -fno-lto results in SkyScraper successfully building.
from archypie-setup.
Thanks for clarifying. I don't get that issue in Arch Linux see below snippet. Just to confirm does EndeavorOS use GCC 12 by default?
g++ -c -pipe -std=c++11 -march=native -mtune=native -pipe -O2 -flto -fno-fat-lto-objects -Wall -Wextra -D_REENTRANT -fPIC -DVERSION="3.7.7" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtXml -I/usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o moc_fxbrightness.o moc_fxbrightness.cpp
from archypie-setup.
Yes it uses gcc 12.2.1:
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.1 20230201 (GCC)
Thats weird. I have no idea where this -fno-lto comes from.
from archypie-setup.
I tested ArchyPie in a clean EndeavourOS build, No DE installed. I built the core modules (Retroarch, EmulationStation etc) and then built Skyscraper. I did not have any issues and the -fno-lto flag was not present. Do you recall building any other modules from ArchyPie or any software from the AUR prior to building Skyscraper? It is possible the stray -fno-lto flag could have been introduced by an export command in another module.
from archypie-setup.
The only thing I installed before ArchyPie was the fish shell nothing else
from archypie-setup.
I setup Fish to run as an interactive shell by adding exec fish to my .bashrc file. I rebooted EOS, launched the archypie-setup script and compiled Skyscraper with no issues and again the -fno-lto flag was not present.
I don't have a Xeon CPU to test with in case there is some instruction set that changes the compilation behaviour under GCC.
from archypie-setup.
Hi, could you please advise me if you are still having issues with building Skyscraper? Thanks
from archypie-setup.
Closing. I could not replicate the issue.
from archypie-setup.
Related Issues (20)
- Citra fails to build on EndeavourOS HOT 11
- Skyscraper script uses sudo HOT 1
- emulationstation.sh interferes with Skyscraper check HOT 9
- asplashscreen.sh uses old RetroPie path HOT 1
- cemu HOT 6
- Manjaro Basic install takes hours HOT 3
- Updating glslang 11.13.0-2 to 12.x causes RetroArch launch error HOT 12
- PCSX2 is failing at patching HOT 7
- Unable to install binary for joy2key HOT 4
- SNES9X Failed to patch HOT 3
- issues with RetroArch HOT 25
- Test Experimental Video Detection HOT 2
- Fix RetroArch BIOS Locations HOT 1
- CEMU fails to build HOT 5
- Remove Legacy Options From runcommand.sh
- Dolphin fails to build HOT 4
- CDogs-SDL HOT 1
- Issue building Cita,Cemu,Duckstation,PCSX2 HOT 8
- Make GZDoom & Raze Separate Systems HOT 2
- [Failed Updates 04/19/2024] cemu, dolphin, lr-ppsspp, rigelengine HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from archypie-setup.