Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.49.6 build fails on ppc64le due to conflicting declarations of __s64 and __u64 #489

Open
cranderson opened this issue Jan 6, 2025 · 0 comments
Assignees

Comments

@cranderson
Copy link

Failed Fedora 42 build on ppc64le:

make[1]: Leaving directory '/builddir/build/BUILD/sedutil-1.49.6-build/sedutil-1.49.6'
In file included from Common/DtaNvmeDrive.cpp:23:
Common/NVMeStructures.h:65:44: error: conflicting declaration ‘typedef long long int __s64’
   65 | __extension__ typedef __signed__ long long __s64;
      |                                            ^~~~~
In file included from /usr/include/asm/types.h:26,
                 from /usr/include/linux/types.h:5,
                 from /usr/include/linux/sched/types.h:5,
                 from /usr/include/bits/sched.h:63,
                 from /usr/include/sched.h:43,
                 from /usr/include/pthread.h:22,
                 from /usr/include/c++/14/ppc64le-redhat-linux/bits/gthr-default.h:35,
                 from /usr/include/c++/14/ppc64le-redhat-linux/bits/gthr.h:157,
                 from /usr/include/c++/14/ext/atomicity.h:35,
                 from /usr/include/c++/14/bits/ios_base.h:39,
                 from /usr/include/c++/14/ios:44,
                 from /usr/include/c++/14/istream:40,
                 from /usr/include/c++/14/sstream:40,
                 from Common/log.h:41,
                 from Common/DtaDrive.h:24,
                 from Common/DtaNvmeDrive.h:22,
                 from Common/DtaNvmeDrive.cpp:21:
/usr/include/asm-generic/int-l64.h:29:25: note: previous declaration as ‘typedef long int __s64’
   29 | typedef __signed__ long __s64;
      |                         ^~~~~
Common/NVMeStructures.h:66:42: error: conflicting declaration ‘typedef long long unsigned int __u64’
   66 | __extension__ typedef unsigned long long __u64;
      |                                          ^~~~~
/usr/include/asm-generic/int-l64.h:30:23: note: previous declaration as ‘typedef long unsigned int __u64’
   30 | typedef unsigned long __u64;
      |                       ^~~~~
make[1]: *** [Makefile:835: Common/DtaNvmeDrive.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/builddir/build/BUILD/sedutil-1.49.6-build/sedutil-1.49.6'

Full build log: https://kojipkgs.fedoraproject.org//work/tasks/8243/127588243/build.log

@scottcmarks scottcmarks self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants