Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge cross-avr/gcc-6.4.0
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
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 365

PostPosted: Tue Dec 05, 2017 7:39 pm    Post subject: Failed to emerge cross-avr/gcc-6.4.0 Reply with quote

The problem seems to be that -fPIC is enabled by default in 6.4.0, for this cross build too, but the architecture doesn't support PIC. Normally this elicits a warning but some parts of gcc are built with -Werror. So the build is getting a lot of these:

Code:

warning: -fPIC is not supported
warning: -fPIE is not supported


and, towards the end of the build, a couple of these:

Code:

conftest.c:1:0: error: -fPIC is not supported [-Werror=PIC]


when -Werror flag is used.

Explicit -fPIE/-fPIC flags are not used AFAICT.
_________________
!זה הכי, אחי Gentoo


Last edited by pygoscelis on Wed Dec 06, 2017 6:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
artbody
Guru
Guru


Joined: 15 Sep 2006
Posts: 401
Location: LB

PostPosted: Tue Dec 05, 2017 10:38 pm    Post subject: Reply with quote

perhaps you could try to change some USE flags in
/etc....package.use/cross-avr
_________________
Samsung 245B 1920x1200 GeForce GT710
4.12.12-gentoo #1 SMP 2017 DEZ 06 x86_64 AMD FX(tm)-8350 Eight-Core Processor AuthenticAMD GNU/Linux
achim
Back to top
View user's profile Send private message
pygoscelis
Guru
Guru


Joined: 07 Jun 2003
Posts: 365

PostPosted: Wed Dec 06, 2017 6:26 pm    Post subject: Reply with quote

artbody wrote:
perhaps you could try to change some USE flags in
/etc....package.use/cross-avr


Hmm, can't find any flags that would affect this...
_________________
!זה הכי, אחי Gentoo
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