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

libkiwix FTCBFS for mipsel: undefined reference to `__atomic_fetch_add_8' #683

Closed
kelson42 opened this issue Jan 20, 2022 · 2 comments · Fixed by #703
Closed

libkiwix FTCBFS for mipsel: undefined reference to `__atomic_fetch_add_8' #683

kelson42 opened this issue Jan 20, 2022 · 2 comments · Fixed by #703
Assignees
Milestone

Comments

@kelson42
Copy link
Collaborator

It seems libkiwix 9.4.1 does not compile properly on mips architecture. As we don’t have this architecture in our CI I suspect the problem could still be here with 10.0.0.

See the details on Debian bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001514

@kelson42 kelson42 added this to the 10.0.1 milestone Jan 20, 2022
@kelson42 kelson42 modified the milestones: 10.0.1, 10.1.0 Feb 3, 2022
@kelson42
Copy link
Collaborator Author

kelson42 commented Feb 6, 2022

@veloman-yunkan @legoktm This specific has already been reported and fixed in the past, see #371. I wonder we still have it. Does the string “mips” in the Meson file does not match properly the architecture?

Here is the table of reference for the CPU families as detected/reported by Meson: https://mesonbuild.com/Reference-tables.html#cpu-families.

Here are information about Debian MIPS support: https://wiki.debian.org/MIPSPort.

From whatbI can see, the mipsel architecture as labeled by Debian is a 32 bits architecture. Maybe this is/was a bug in Meson, look at mesonbuild/meson#3842.

Debian CI works with Meson 0.61

@kelson42
Copy link
Collaborator Author

kelson42 commented Feb 6, 2022

I believe to understand the problem, there is a confusion between host_system and target_system in the Meson file. https://mesonbuild.com/Cross-compilation.html is really instructive, and actually this error is a common one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants