public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/18434] [4.0/4.1 Regression] Cannot build gnattools on Tru64 UNIX V5.1B Date: Thu, 09 Jun 2005 23:09:00 -0000 [thread overview] Message-ID: <20050609230915.8512.qmail@sourceware.org> (raw) In-Reply-To: <20041111220740.18434.ro@techfak.uni-bielefeld.de> ------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2005-06-09 23:09 ------- Subject: Re: [4.0/4.1 Regression] Cannot build gnattools on Tru64 UNIX V5.1B I've done some further debugging and found what's going on: running the failing gnatmake invokation % ../../gnatmake -c -I../rts -I. -I/vol/gnu/src/gcc/gcc-dist/gcc/ada gnatchop --GCC="../../xgcc -B../../ -O2 -g -O2 -mieee -gnatpg -gnata" gnatmake: "gnatchop" not found under truss reveals that with gnatmake from the 3.4 branch, there are several calls to stat() for gnatchop.adb in different directories. With the 4.0 gnatmake, the stat() calls only look for gnatchop (which of course doesn't exist yet). Those calls ultimately come from Osint.Next_Main_File. Running gnatmake under a debugger, I find that in 4.0, neither the case Running_Program is entered nor the if Running_Program = Make then block that does the adding of .adb and .ads. It turns out that Osint.Running_Program = 4 at that point (debugging seems considerably broken on 4.0: with the 3.4 binaries and current CVS gdb, I get symbolic values here, while the 4.0 binaries only give numeric ones), i.e. Unspecified. Running gnatmake again under gdb with a watchpoint on Osint.Running_Program, I find that * for the 3.4 binary, the variable is set only once via Osint.Set_Program (to Osint.Make, as expected) and never touched afterwards, whereas * for the 4.0 binary, the variable is set once in the same place, and later overwritten in osint___elabb (obviously the Osint initialization code), where it is set to 4 (Unspecified) as observed above. So maybe this is an Ada bug after all, not really target specific. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18434
next prev parent reply other threads:[~2005-06-09 23:09 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-11-11 22:07 [Bug ada/18434] New: " gcc-bugzilla at gcc dot gnu dot org 2004-11-11 23:33 ` [Bug ada/18434] " pinskia at gcc dot gnu dot org 2004-11-11 23:44 ` ro at techfak dot uni-bielefeld dot de 2005-01-03 10:10 ` [Bug target/18434] " charlet at gcc dot gnu dot org 2005-01-03 11:15 ` [Bug target/18434] [4.0 Regression] " giovannibajo at libero dot it 2005-01-15 5:12 ` pinskia at gcc dot gnu dot org 2005-01-19 18:24 ` mmitchel at gcc dot gnu dot org 2005-03-05 19:51 ` [Bug target/18434] [4.0/4.1 " pinskia at gcc dot gnu dot org 2005-05-18 5:57 ` rth at gcc dot gnu dot org 2005-05-18 6:05 ` rth at gcc dot gnu dot org 2005-06-09 23:09 ` ro at techfak dot uni-bielefeld dot de [this message] 2005-07-04 15:30 ` charlet at gcc dot gnu dot org 2005-07-05 17:04 ` ro at techfak dot uni-bielefeld dot de 2005-08-22 2:20 ` mmitchel at gcc dot gnu dot org 2005-10-01 17:41 ` [Bug ada/18434] [4.0/4.1 Regression] Ada: cannot " laurent at guerby dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050609230915.8512.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).