yoda-mon commented on PR #961:
URL: https://github.com/apache/bigtop/pull/961#issuecomment-1197742993

   @guyuqi 
   Thank you, I reproduced this error on both CPU architecture.
   I tried to build Hadoop on Fedora 35 docker image and it succeeded, so this 
error would be caused by glibc version.
   
   ```sh
   $ docker run --rm -i bigtop/slaves:trunk-fedora-36 ldd --version
   ldd (GNU libc) 2.35
   Copyright (C) 2022 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   Written by Roland McGrath and Ulrich Drepper.
   
   $ docker run --rm -i bigtop/slaves:trunk-fedora-35 ldd --version
   ldd (GNU libc) 2.34
   Copyright (C) 2021 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is NO
   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   Written by Roland McGrath and Ulrich Drepper.
   ```
   
   And as you mentioned, adding `CFLAGS="-fPIC"` seems to make the build work 
so I will investigate a little bit more and will update this PR later.


-- 
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]

Reply via email to