Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-qt/qtscript-5.x ignores portage env
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kopancek
n00b
n00b


Joined: 20 Dec 2007
Posts: 13

PostPosted: Thu May 30, 2013 1:18 pm    Post subject: dev-qt/qtscript-5.x ignores portage env Reply with quote

Hi,

I am trying to build qtscript-5.x from qt overlay with gcc-4.7.3. I also have qtscript-4.x from gentoo, so it is building qtscript-5.x in a new slot.

Default CFLAGS and LDFLAGS are using lto (-flto=3 -fuse-linker-plugin).
qtscript fails when trying to build with lto, so I've tried to disable the lto for the qtscript using the portage /etc/portage/env/no-lto configuration:
Code:

cat /etc/portage/package.env/no-lto
dev-qt/qtscript no-lto.conf

Also, the no-lto.conf contains flags to disable lto:
Code:

cat /etc/portage/env/no-lto.conf
CFLAGS="${CFLAGS} -fno-lto -fno-use-linker-plugin"
CXXFLAGS="${CXXFLAGS} -fno-lto -fno-use-linker-plugin"
LDFLAGS="${LDFLAGS} -fno-lto -fno-use-linker-plugin"


But when I try to build qtscript-5.x it completely ignores the package environment and always tries to build with lto, which always fails...

Could it be a problem with ebuild or some misconfiguration, that I do not understand?

EDIT: The same configuration works for other ebuilds, such as boost or inkscape...
Back to top
View user's profile Send private message
kensington
Developer
Developer


Joined: 02 Jan 2013
Posts: 27
Location: Australia

PostPosted: Sun Mar 30, 2014 1:49 pm    Post subject: Reply with quote

Did you build qtcore:5 with lto? It sounds like it could be bug #490254.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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