Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 562248

Summary: x11-base/xorg-server-1.16.4 fails to build with GCC 5.1.0
Product: Gentoo Linux Reporter: Dainius Masiliūnas <pastas4>
Component: [OLD] GCC PortingAssignee: Gentoo X packagers <x11>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: xorg-server build.log
emerge --info output

Description Dainius Masiliūnas 2015-10-04 17:05:07 UTC
When trying to build xorg-server with GCC 5.1.0, an error "Ksdksyms.c:316:15: error: expected expression before ‘,’ token" is emitted and the build fails.

Reproducible: Always

Steps to Reproduce:
1. Emerge gcc-5.1.0
2. Set it as the default with gcc-config
3. Emerge xorg-server
Actual Results:  
Build failure.

Expected Results:  
Build success.

Building was done on an i686 system.
Comment 1 Dainius Masiliūnas 2015-10-04 17:09:06 UTC
Created attachment 413736 [details]
xorg-server build.log

Attached the build.log file. The file was tailed to fit the size requirements.
Comment 2 Dainius Masiliūnas 2015-10-04 17:10:15 UTC
Created attachment 413738 [details]
emerge --info output
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-10-05 16:25:30 UTC
Please try with gcc-5.2.0, since 5.1.0 will probably never be unmasked.

If it still fails with 5.2.0, please attach the complete build log from /var/tmp/portage/x11-base/xorg-server-1.16.4/temp/build.log (not just the last terminal screen).
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-10-05 16:26:12 UTC
(In reply to Dainius Masiliūnas from comment #1)
> The file was tailed to fit the size requirements.

Compress with xz or bzip2.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2015-10-10 05:44:05 UTC
If you want to play around with masked compiler versions then you need to be running ~arch.