https://bz.apache.org/bugzilla/show_bug.cgi?id=58285
Bug ID: 58285 Summary: Atomics missing - undefined symbol __sync_sub_and_fetch_4 Product: Tomcat Connectors Version: 1.2.41 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Common Assignee: dev@tomcat.apache.org Reporter: rainer.j...@kippdata.de Connectors 1.2.41 introduced the use of atomics. When using GCC 4.1 or newer, support for atomics is assumed, but actually on some platforms not available. For platforms where gcc does not support atomics, it compiles in a function call to e.g. __sync_add_and_fetch_4() and trying to load mod_jk.so results in an undefined symbol error for __sync_add_and_fetch_4. This should not happen on the Windows platform, where we use another atomics implementation. It should also not happen for AMD 64 processors, because GCC 4.1 and later implement atomics for them. It does happen in x86 32 Bit processors at least for old GCC and also on Solaris Sparc for GCC 4.1.2 (not for 4.2.4 and later). This will be fixed by using a configure auto-detection for atomics support. If support is not detected, and we are not on WIN32, we fall back to APR provided atomics. If APR is not available, we fall back to non-atomic increment/decrement plus a startup warning. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org