From: Markos C. <Mar...@im...> - 2013-12-20 12:46:39
|
On 12/16/2013 06:58 AM, Mike Frysinger wrote: > On Friday 13 December 2013 07:31:02 Markos Chandras wrote: >> Commit 6f22494d19b605ded308dc0fa713e91cb873f44a >> "Move sctp to utils and bump it to 1.0.15" >> >> introduced a build failure for the prefixed architectures. >> We need to take into consideration the __USER_LABEL_PREFIX__ >> for architectures that define it when creating symbol aliases. >> >> The following upstream patch (0600c8968cc2dea04cbf13ec739216e2939d08fe) >> fixes the build for the Meta(metag) architecture >> >> [...] >> utils/sctp/func_tests/test_connectx.c:151: undefined reference to >> `_sctp_connectx' utils/sctp/func_tests/test_connectx.c:163: undefined >> reference to `_sctp_connectx' [...] >> >> Build tested on x86_64 and metag. > > we really should fix this instead by not using any symbol renaming. symbol > versions might make sense when dealing with a released project and a stable > shared library API, but it makes no sense in LTP. > > perhaps better to have a compile time knob to disable it all ? > -mike > Well whatever works best. Personally I would avoid deviating from third-party code unless it's really necessary. -- markos |