zylin / zpugcc

50 stars 31 forks source link

Build fixes for newer Linux environments #2

Closed robinsonb5 closed 9 years ago

robinsonb5 commented 9 years ago

The toolchain's suffered some bit rot, and on newer Linux installations changes to makeinfo and bison have broken the build process. In addition, there's a buffer overflow bug in binutils which breaks the build process unless Fortify is disabled.

These patches work around these problems by disabling texinfo documentation if makeinfo is too new, disabling Fortify before building binutils, and fixing c-parse.y.

In addition, an obscure "internal compiler error" is fixed, which I encountered when using varargs in code when debugging symbols were enabled.

oharboe commented 9 years ago

Any objections?