NetBSD-Bugs archive

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

Re: PR/55802 CVS commit: src/external/gpl3/gcc/dist/gcc



The following reply was made to PR misc/55802; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: "Christos Zoulas" <christos%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: PR/55802 CVS commit: src/external/gpl3/gcc/dist/gcc
Date: Mon, 16 Nov 2020 11:04:40 +0200

 Christos Zoulas committed:
 >  cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/file-prefix-map.c
 
 Thanks, I can confirm that after this fix, gdb finds the sources.
 I have not checked whether the entire release is now reproducible.
 
 >  For reproducible builds to work we need to have a consistent command
 >  line (because the command line gets recorded in dwarf). So we can't
 >  do:
 >  
 >      -ffile-prefix-map=/joe/random/src=/usr/src
 >  
 >  because then /joe/random/src gets recorded. We do instead:
 >  
 >      -ffile-prefix-map=\$NETBSDSRCDIR=/usr/src
 >  
 >  The patch restores the environment variable parsing that got lost
 >  in the last 2 gcc upgrades.
 
 Is this really still necessary, though - hasn't gcc been fixed to not
 store the original lefthand side of the file mapping options by now?
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index