Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]unable to compile xorg-server-1.19.5 and 1.19.6
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
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Sun Jan 21, 2018 11:34 am    Post subject: [SOLVED]unable to compile xorg-server-1.19.5 and 1.19.6 Reply with quote

the complete build log is here : http://www.filedropper.com/build_5 or https://paste.pound-python.org/show/jnJ7ttwc0cMy94qo1dIX/

the emerge --info is here : https://paste.pound-python.org/show/wKKTIZ4qzf1bdbUY29Fd/


Last edited by platyhelminth on Sun Jan 21, 2018 2:40 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 21, 2018 12:26 pm    Post subject: Reply with quote

platyhelminth,

Please use wgetpaste.
Being old and cynical, I don't want to sign up to anything and I don't download random stuff ether.

-- edit --
Code:
CFLAGS="-O3 -march=znver1"

Don't use -O3 globally. It makes things bigger, may not make them faster that -O2, extends compile time and may not give the floating point results you expect.
-O3 should be reserved for individual functions, where the code has been benchmarked and tested to show that it gives the desired results.

The bigger code generated by -O3 can increase the cache miss rates as the working set may no longer fit into the CU cache, so it has to wait for main memory.
Its called cache thrashing. Its harmless to your CPU but reduces program execution speed.
_________________
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
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Sun Jan 21, 2018 12:38 pm    Post subject: Reply with quote

the complete build log is here : https://paste.pound-python.org/show/jnJ7ttwc0cMy94qo1dIX/

Putting -O2 makes the same bug. I tried it
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jan 21, 2018 2:07 pm    Post subject: Reply with quote

platyhelminth,

build.log:
udev.c:(.text+0x2f2): undefined reference to `major'


emerge --info:
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/no-multilib, gcc-7.2.0, glibc-2.26-r5, 4.15.0-rc8 x86_64)
ACCEPT_KEYWORDS="amd64"


A few things.
When you moved to >gcc-4 did you migrate properly?
See the news item 2015-10-22 GCC 5 Defaults to the New C++11 ABI
text+0xxxxx errors are typical of something breaking there.

When you moved to the /17.0/ profile, did you follow the 2017-11-30 New 17.0 profiles in the Gentoo repository news item?
If something breaks then, that can cause similar issues.

Lastly, you are running a mix of stable and testing. That's "mostly harmless". However, the defines for major and minor have been moved around/deleted.
=x11-base/xorg-server-1.19.5 may be looking for them in the wrong place in the stable part of your system. Its a feature of mixing stable and testing.

It work on my all testing install.
_________________
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
platyhelminth
n00b
n00b


Joined: 26 Oct 2016
Posts: 15
Location: France

PostPosted: Sun Jan 21, 2018 2:31 pm    Post subject: Reply with quote

With the help of IRC people (iamben...), I solved it.
It is here : https://bugs.gentoo.org/634590

The solution is to install eudev with ~amd64
(apparently it is obvious in the build.log file that it is related to udev.)
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