From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,233c88e0e480e0b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: GNAT/GCC and -fstack-check Date: Tue, 26 Oct 2010 10:04:53 +0200 Organization: A noiseless patient Spider Message-ID: <87ocahqt0a.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx03.eternal-september.org; posting-host="0t0xZZ7+t+clvpTvXGTudA"; logging-data="23812"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18A+QEjuGXjvP0I7J++KRjg" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:a5t2KXhEzbUld/LmD5itzGRRfTg= sha1:8UL2Vs7A9xNxH/8FSLjai5EoabQ= Xref: g2news1.google.com comp.lang.ada:14783 Date: 2010-10-26T10:04:53+02:00 List-Id: This GCC back-end problem is old and has been reported multiple times with several variants: http://gcc.gnu.org/PR10127 http://gcc.gnu.org/PR13182 (still open) http://gcc.gnu.org/PR13757 (duplicate of PR10127) http://gcc.gnu.org/PR20548 http://gcc.gnu.org/PR39306 (duplicate of PR10127) I first learned of this problem thanks to PR20548 and consequently removed -fstack-check from all Ada packages in Debian. PR10127 and PR20548 were both fixed in November 2009 in the trunk, therefore this fix should be in GCC >= 4.5.0 (per http://gcc.gnu.org/develop.html#timeline). -- Ludovic Brenta.