Commit Graph

3 Commits

Author SHA1 Message Date
Mingli Yu 72d7c70316 log4cplus: remove gold linker setting
After commit[3a7abb175 log4cplus: Fix build with gold linker]
applied, with below logic in conf/local.conf
MACHINE ??= "qemumips64"
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
require conf/multilib.conf

There comes below configure error:
 $ bitbake libn32-log4cplus
 | checking for the pthreads library -lpthread... no
 | configure: error: Requested threads support but no threads were found.

Actually the logic[CXXFLAGS += "-fuse-ld=gold"] is not
needed in commit[3a7abb175 log4cplus: Fix build with gold linker],
so remove it to fix the above configure error.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-02 18:02:44 -07:00
Khem Raj 3a7abb175a log4cplus: Fix build with gold linker
Fixes a potential linker error and eventual linker crash when using gold
linker

arm-yoe-linux-gnueabi/9.1.0/ld: internal error in add_output_section_to_load, at ../../gold/output.cc:4149
collect2: error: ld returned 1 exit status
Makefile:1979: recipe for target 'liblog4cplusU.la' failed
make[2]: *** [liblog4cplusU.la] Error 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
2019-07-23 07:31:56 -07:00
Mingli Yu 65ac4604b3 log4cplus: Upgrade to 2.0.4
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-22 14:16:51 -07:00