View previous topic :: View next topic |
Author |
Message |
Demo Tux's lil' helper
Joined: 25 Nov 2022 Posts: 126
|
Posted: Mon Jun 10, 2024 3:18 pm Post subject: libcanberra refuses to build |
|
|
Hello folks ...
Almost done with the profile change, I wonder how much time it would've taken if I emerged for an empty tree!!
One of the final libraries that needs rebuilding is libcanberra, because of the gstreamer use flag. When I got errors the first time, I just disabled it, and tried again, but got the same errors.
These are the package settings ...
Just to make sure all details are included, compiling with the -ggdb3 or without it, doesn't make a difference. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31271 Location: here
|
Posted: Mon Jun 10, 2024 6:02 pm Post subject: |
|
|
Code: | CFLAGS="-O2 -pipe -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3" |
Try to use safe use flag CFLAGS="-march=native -O2 -pipe" for compilation. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Demo Tux's lil' helper
Joined: 25 Nov 2022 Posts: 126
|
Posted: Mon Jun 10, 2024 6:05 pm Post subject: |
|
|
Quote: | Try to use safe use flag CFLAGS="-march=native -O2 -pipe" for compilation. |
It built with me before with the current flags a few times without any problem, but why not! I'll give it a try ... |
|
Back to top |
|
|
Demo Tux's lil' helper
Joined: 25 Nov 2022 Posts: 126
|
Posted: Mon Jun 10, 2024 6:49 pm Post subject: |
|
|
This compilation attempt is without any custom cflags at all, and it still gave the same errors. |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1921
|
Posted: Mon Jun 10, 2024 7:10 pm Post subject: |
|
|
Demo wrote: | This compilation attempt is without any custom cflags at all, and it still gave the same errors. |
So your problem is: Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/14/crtfastmath.o: file not recognized: file format not recognized
|
It looks like a poorly created gcc file. What does the file command say on it? Mine says (for gcc 13): Code: | $ file /usr/lib/gcc/x86_64-pc-linux-gnu/13/crtfastmath.o
/usr/lib/gcc/x86_64-pc-linux-gnu/13/crtfastmath.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped |
|
|
Back to top |
|
|
Demo Tux's lil' helper
Joined: 25 Nov 2022 Posts: 126
|
Posted: Mon Jun 10, 2024 7:33 pm Post subject: |
|
|
Code: | # file /usr/lib/gcc/x86_64-pc-linux-gnu/14/crtfastmath.o
/usr/lib/gcc/x86_64-pc-linux-gnu/14/crtfastmath.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped |
|
|
Back to top |
|
|
Demo Tux's lil' helper
Joined: 25 Nov 2022 Posts: 126
|
Posted: Tue Jun 11, 2024 6:17 am Post subject: |
|
|
It diffidently is not a gcc problem! |
|
Back to top |
|
|
|