FS#58859 - [gcc] #include_next is erroneously implemented and cstdlib fails in one of those macros

Attached to Project: Arch Linux
Opened by Andreas Nilsson (ani) - Monday, 04 June 2018, 06:20 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 04 June 2018, 17:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This is the latest output from compiling 0 AD in Parabola GNU/Linux:

Linking simulation2
==== Building scriptinterface (release) ====
precompiled.h
In file included from ../../../source/lib/sysdep/stl.h:32,
from ../../../source/lib/precompiled.h:68,
from ../../../source/pch/scriptinterface/precompiled.h:19:
/usr/include/c++/8.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
make[1]: *** [scriptinterface.make:121: obj/scriptinterface_Release/precompiled.h.gch] Error 1
make: *** [Makefile:99: scriptinterface] Error 2

This is from #parabola on Freenode IRC:

<oaken-source> `ani`: it's marked as invalid because there is nothing in our power to fix it
<oaken-source> you'd have to re-report it to arch

This is the link to the 0 AD bug report:

https://trac.wildfiregames.com/ticket/5157


Additional info:
* local/gcc 8.1.0-1 (base-devel)
* N/A


Steps to reproduce:

svn checkout <0ad source>
cd 0ad-source/build/workspaces
sh update-workspaces.sh --disable-atlas -j3
cd gcc
make -j3
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 04 June 2018, 17:19 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Monday, 04 June 2018, 17:02 GMT
This is almost certainly a code/build system issue, not a gcc issue.

Loading...