Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libcanberra refuses to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 104

PostPosted: Mon Jun 10, 2024 3:18 pm    Post subject: libcanberra refuses to build Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31023
Location: here

PostPosted: Mon Jun 10, 2024 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 104

PostPosted: Mon Jun 10, 2024 6:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 104

PostPosted: Mon Jun 10, 2024 6:49 pm    Post subject: Reply with quote

This compilation attempt is without any custom cflags at all, and it still gave the same errors.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1743

PostPosted: Mon Jun 10, 2024 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 104

PostPosted: Mon Jun 10, 2024 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 104

PostPosted: Tue Jun 11, 2024 6:17 am    Post subject: Reply with quote

It diffidently is not a gcc problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum