NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-macppc/54827: alloca() is broken in gcc 8 on powerpc



The following reply was made to PR port-macppc/54827; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: Valery Ushakov <uwe%stderr.spb.ru@localhost>, gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-macppc/54827: alloca() is broken in gcc 8 on powerpc
Date: Tue, 14 Jan 2020 17:27:38 -0500

 On Wed, 2020-01-08 at 04:32 +0300, Valery Ushakov wrote:
 > On Mon, Jan 06, 2020 at 20:45:01 +0000, David H. Gutteridge wrote:
 > 
 > >  The two GCCs from pkgsrc generate the correct instruction (as
 > >  previously detailed), where the one from the NetBSD src tree does
 > >  not
 > 
 > Thanks a lot for doing that experiment.  Please, could you diff the .i
 > files from the in-tree compiler and stock one from the pkgsrc?  The
 > interesting files are rs6000.i, and maybe function.i and explow.i.  rm
 > the .o file, run make, copy the command and re-run with -save-temps
 > added.  Hopefully, that should point out which macros we've got wrong.
 
 I've generated the .ii (and also retained the .s) for rs6000.c,
 function.c, and explow.c. The pkgsrc version actually generates three
 sets of these files; I went with the directory that seemed most
 comparable (the other two having "old" and "stage-1" in their names,
 which I presume related to bootstrapping and such).
 
 A raw diff is too big to usefully post here. To gets something more
 meaningful, we'd have to strip all the differences in path names out,
 which I haven't looked at (yet).
 
 I've uploaded archives of each set of files as
 www.netbsd.org/~gutteridge/gcc8_native.tgz
 www.netbsd.org/~gutteridge/gcc8_pkgsrc.tgz
 
 Dave
 
 


Home | Main Index | Thread Index | Old Index