Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ARMv7 emake failing on emerge: package sys-libs/db-5.3.28-r2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Tue Mar 21, 2017 1:27 am    Post subject: ARMv7 emake failing on emerge: package sys-libs/db-5.3.28-r2 Reply with quote

Hi,

I've been trying to update my BananaPi for 2 weeks now but a package is causing emerge to fail every time. I've already tried to mask it to see if I could move forward but it seems necessary for many packages including Python.

Could this be a portage tree problem? Any simple way to fix it? I've posted the emerge --info in the link below.

http://pastebin.com/n4Bhqb8B

Thank you in advance.

Nelson
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25175
Location: here

PostPosted: Tue Mar 21, 2017 6:42 am    Post subject: Reply with quote

You can post build.log of package that fail with wgetpaste?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47142
Location: 56N 3W

PostPosted: Tue Mar 21, 2017 11:34 am    Post subject: Reply with quote

Moved from Portage & Programming to Gentoo on Alternative Architectures.

Its an ARM board
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Tue Mar 21, 2017 11:58 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You can post build.log of package that fail with wgetpaste?


Definitely. Here it is: https://paste.pound-python.org/show/sqJcUzPtVdRjf99tz5rT/

Thanks in advance.

Best,
Nelson
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25175
Location: here

PostPosted: Wed Mar 22, 2017 6:48 am    Post subject: Reply with quote

Code:
/var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/sql/generated/sqlite3.c:20038:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC.

Remove -ffast-math CLFAGS on your make.conf
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
nelsonwcf
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2012
Posts: 112

PostPosted: Wed Mar 22, 2017 10:27 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Code:
/var/tmp/portage/sys-libs/db-5.3.28-r2/work/db-5.3.28/lang/sql/generated/sqlite3.c:20038:3: error: #error SQLite will not work correctly with the -ffast-math option of GCC.

Remove -ffast-math CLFAGS on your make.conf


Awesome. It fixed it. A question, though: I have been using these flags for more than a year and I never had problems before (together with -O3). Why would this specific version of this package cause problems with this -ffast-math?

Thank you,
Nelson
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 16506

PostPosted: Thu Mar 23, 2017 1:27 am    Post subject: Reply with quote

Per info gcc:
info '(gcc.info)Optimize Options':
`-ffast-math'

...

     This option is not turned on by any `-O' option besides `-Ofast'
     since it can result in incorrect output for programs that depend
     on an exact implementation of IEEE or ISO rules/specifications for
     math functions. It may, however, yield faster code for programs
     that do not require the guarantees of these specifications.
Presumably, the authors require some of the guarantees of those standards. The authors believe, whether or not correctly, that removing those guarantees causes their program to break, so they included a specific check to disallow building the program with -ffast-math.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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