strophy opened a new pull request, #1194:
URL: https://github.com/apache/iceberg-go/pull/1194

   https://github.com/minio/warp recently added iceberg-go as a dependency. 
iceberg-go encounters the following compiler error on s390x architecture 
(big-endian) during packaging for Alpine Linux:
   ```
   # github.com/minio/warp
   github.com/apache/iceberg-go/table/internal.newStatAgg[go.shape.bool]: 
runtime.staticuint64s+42100384 is not 2-byte aligned
   github.com/apache/iceberg-go/table/internal.newStatAgg[go.shape.bool]: 
runtime.staticuint64s+42100384 is not 2-byte aligned
   github.com/apache/iceberg-go.getComparator[go.shape.bool]: 
runtime.staticuint64s+42100384 is not 2-byte aligned
   github.com/apache/iceberg-go.getComparator[go.shape.bool]: 
runtime.staticuint64s+42100384 is not 2-byte aligned
   >>> ERROR: warp-s3: build failed
   ```
   The issue here is instantiating the generic bool comparator on a generic 
zero value, resulting in an alignment bug on big-endian architecture. This fix 
replaces the generic zero-value comparator initialization with explicit typed 
comparators, allowing compilation on s390x.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to