On Fri, 8 Apr 2022 14:16:03 GMT, Maxim Kartashev <d...@openjdk.java.net> wrote:
>> @mkartashev Why don't you try building with clang as two different users, in >> two different directories, and see if the build is non-reproducible without >> this patch, but is reproducible with it (incl. your suggested change to >> include clang as well)? > > @magicus >> Is it possible to pass the ".file" directive on the command line? > > I don't think so. Your other idea works quite well, though. If you have this > in the source > > .file THIS_FILE > > and you specify this on the command line > > -DTHIS_FILE='"src/hotspot/os_cpu/linux_x86/linux_x86_64.S"' > > you get the same reproducible and debuggable result. > @mkartashev Why don't you try building with clang as two different users, in > two different directories, and see if the build is non-reproducible without > this patch, but is reproducible with it (incl. your suggested change to > include clang as well)? I'm going to do this on Mac, but perhaps not in the immediate future. If someone has the time for this right now, please jump ahead of me in the line. ------------- PR: https://git.openjdk.java.net/jdk/pull/8124