Bug 1184995 - gasnet build varies between hosts
Summary: gasnet build varies between hosts
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Nicolas Morey-Chaisemartin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1100677
  Show dependency treegraph
 
Reported: 2021-04-20 01:57 UTC by Bernhard Wiedemann
Modified: 2022-03-14 08:51 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2021-04-20 01:57:45 UTC
While working on reproducible builds for openSUSE, I found that
when building gasnet on different hosts, there were differences
between build results:

--- old//usr/include/gasnet_config.h    2020-06-07 00:00:00.000000000 +0000
+++ new//usr/include/gasnet_config.h    2020-06-07 00:00:00.000000000 +0000
@@ -397,8 +397,8 @@
 #define GASNETI_PAGESHIFT 12

 /* auto-detected shared data cache line size */
-#define GASNETI_CACHE_LINE_BYTES 64
-#define GASNETI_CACHE_LINE_SHIFT 6
+#define GASNETI_CACHE_LINE_BYTES 128
+#define GASNETI_CACHE_LINE_SHIFT 7

and variations in binaries.

My analysis shows this comes from
configure.in detect_cachesz

To reproduce, I do one build with
osc build --build-opt=--vm-custom-opt="-cpu kvm64,l3-cache=on"


Please allow identical binaries to be produced on different build hosts
to facilitate verification of builds.
Comment 1 Nicolas Morey-Chaisemartin 2021-04-20 12:29:07 UTC
This could be easy enough to fix.
But:
- Reading GASnet upstream reply to your request ( https://bitbucket.org/berkeleylab/gasnet/pull-requests/253/allow-to-not-store-build-date-user-and/activity )
- Seeing that GASnet seems EOL (Last upstream release was 2018 and there seem toi be a "new" GASnetEX library)
- Seeing that the only user of GASnet in Factory is legion which is not really maintained in OBS anyway.

I strongly suggest that we drop both GASnet and Legion from Factory.
I'll keep them in science:HPC as gasnet has to be maintained for SLES for a while.
I'll keep legion as such (it is not in any SLES) in case someone ever wants to pick it up.

Christoph, as you were the one who packaged them first, any feedback on this ?
Comment 2 Christoph Junghans 2021-04-20 12:56:28 UTC
As per discussion with legion upstream in https://github.com/StanfordLegion/legion/issues/941#issuecomment-751531028 let's drop them.
Comment 3 Nicolas Morey-Chaisemartin 2021-04-27 08:12:46 UTC
Delete request sent:
https://build.opensuse.org/request/show/887075

Legion has already been dropped from Factory
Comment 4 Nicolas Morey-Chaisemartin 2022-03-14 08:51:58 UTC
gasnet and legion were dropped from Factory