S/390 Linux doesn't link on trunk

Daniel Jacobowitz drow@mvista.com
Mon Apr 15 10:11:00 GMT 2002


On Mon, Apr 15, 2002 at 07:02:25PM +0200, Dr. Jochen Röhrig wrote:
> The problem arises from the unconditional definition of 
> CHILD_PID_TO_EXEC_FILE at the end of config/nm-linux.h. According to the 
> CVS-log this was added in Revision 1.11 of config/nm-linux.h on January, 8th. 
> There were also changes made in config/<arch>/linux.mh for some architectures 
> (linking with linux-proc.o), which, as far as I can judge it, avoid the above 
> described problem on theses architectures. However s390 (and, as it seems, 
> some other architectures), doesn't have a config/<arch>/linux.mh so no 
> modifications were made for s390.
> 
> My question now: are we missing something for s390 because we don't have the 
> config/s390/linux.mh-file or are the changes to config/s390/nm-linux.h that I 
> described above a correct solution for the problem? Or would it instead be a 
> better solution to add a "NATDEPFILES += linux-proc.o" to config/s390/s390.mh?

Aha!  That's a good solution.  A better one is to kill
config/s390/s390.mh, create config/s390/linux.mh, and use that instead. 
That's much more accurate and will help prevent this sort of error
recurring.

Michael, sound right to you?  I can't think of any reason not to use
linux-proc.o on S/390.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list