https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64349
--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> --- although it says "warning" when it encounters the unexpected case, it finally causes a linkage failure. Note that this is present on darwin* (it's not really specific to darwin <= 10) - it's just hidden by the "undefined dynamic lookup" on later darwin. The library should not be referencing _environ directly (we're all agreed on that). I'm sure the Adacore folks will review the new patch in due course.