RFR: 8284437: Building from different users/workspace is not always deterministic [v2]

Andrew Leonard aleonard at openjdk.java.net
Fri Apr 8 12:33:46 UTC 2022


On Fri, 8 Apr 2022 12:24:38 GMT, Maxim Kartashev <duke at openjdk.java.net> wrote:

> FWIW, I (locally) solved the problem of absolute path names in the compiled assembly by adding the `.file` directive. For example:
> 
> ```
> --- a/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.S
> +++ b/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.S
> @@ -19,7 +19,7 @@
>  // or visit www.oracle.com if you need additional information or have any
>  // questions.
> 
> -
> +        .file "atomic_linux_aarch64.S"
> 
>          .text
> ```

@mkartashev Maxim, I think that might be worth a LOT :-) thank you, i'll have a look at that, that maybe the solution, I hadn't grasped the problem might be assembly compiled object path or something, cheers

-------------

PR: https://git.openjdk.java.net/jdk/pull/8124



More information about the build-dev mailing list