-
Notifications
You must be signed in to change notification settings - Fork 134
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
table.hpp:106 error: redefinition of ‘size_t* TablePrefixSum on 32-bit architectures #168
Comments
Line 100 in 790f478
has
while Line 106 in 790f478
has
So |
The same issue applies elsewhere where
|
This patch seems to be sufficient
The 32 bit test was adapted from https://stackoverflow.com/a/1505839/12401525 This patch simply skips definitions with A consequence is that try:
Array_I_S
except NameError:
Array_I_S = Array_I_U |
Some 32 bit systems (armel, m68k, powerpc, sh4) don't link to atomic symbols. The problem is under discussion in gcc at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358 This patch works around it for netgen, linking libngcore to libatomic where needed
atomic needs to be linked to ngcore as INTERFACE not PRIVATE (or PUBLIC) since libngcore.so itself does not use atomic symbols (they are used inline in core/utils.hpp). The cmake test for atomic linking was adapted from google/highway#1008 |
netgen 6.2.2305 fails to build on 32-bit architectures. Older versions previously built successfully.
Build logs can be found at https://buildd.debian.org/status/package.php?p=netgen&suite=experimental
(past builds can be found under the "old" links at https://buildd.debian.org/status/package.php?p=netgen)
The error message from i386 is
(https://buildd.debian.org/status/fetch.php?pkg=netgen&arch=i386&ver=6.2.2305%2Bdfsg1-1exp1&stamp=1699663029&raw=0)
The text was updated successfully, but these errors were encountered: