From: SeokYeon Hwang Date: Thu, 15 Oct 2015 03:18:53 +0000 (+0900) Subject: configure: remove --export-all-symbols on Windows X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02032e2c89ae23af51c7420f91960b79731205d5;p=sdk%2Femulator%2Fqemu.git configure: remove --export-all-symbols on Windows An option "--export-all-symbols" seems to hide other exported value. We don't know yet whether it is Windows specification or bug on GNU toolchains. This commit causes some symbol name is missed in backtrace information. But I think it is better to re-write backtrace code that uses debugging symbols instead of exported symbols. We use "-rdynamic" instead of "-Wl,--export-dynamic" since some linker use "--export_dynamic" not "--export-dynamic". "-static-libgcc" and "-static-libstdc++" are linker options, so they are designated as a ldflags. Change-Id: I1f301bc44c0ee245d7d2a4d7af7a238d0df648df Signed-off-by: SeokYeon Hwang --- diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 5f19e12ea1..0edb7d9860 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -129,7 +129,7 @@ case $targetos in Linux*) CONFIGURE_APPEND=" --enable-werror - --extra-ldflags=-Wl,--export-dynamic + --extra-ldflags=-rdynamic --audio-drv-list=alsa --enable-sdl --enable-kvm @@ -140,10 +140,9 @@ CROSS_MINGW*) CONFIGURE_APPEND=" --cross-prefix=$CROSS_PREFIX --enable-werror - --extra-cflags=-static-libgcc - --extra-cflags=-static-libstdc++ + --extra-ldflags=-static-libgcc + --extra-ldflags=-static-libstdc++ --extra-ldflags=-Wl,--large-address-aware - --extra-ldflags=-Wl,--export-all-symbols --audio-drv-list=dsound --winver=0x0600 --enable-sdl @@ -156,10 +155,9 @@ CONFIGURE_APPEND=" --cc=gcc --cxx=g++ --enable-werror - --extra-cflags=-static-libgcc - --extra-cflags=-static-libstdc++ + --extra-ldflags=-static-libgcc + --extra-ldflags=-static-libstdc++ --extra-ldflags=-Wl,--large-address-aware - --extra-ldflags=-Wl,--export-all-symbols --audio-drv-list=dsound --winver=0x0600 --enable-sdl @@ -176,14 +174,12 @@ CONFIGURE_APPEND=" --extra-cflags=-Wno-error=deprecated-declarations --extra-ldflags=-lstdc++ --audio-drv-list=coreaudio - --enable-virtfs - --disable-sdl --disable-cocoa + --disable-sdl --enable-hax $CONFIGURE_APPEND " -# FIXME: "-export_dynamic" causes error on old version clang -# --extra-ldflags="-Xlinker -export_dynamic" \ +#--extra-ldflags=-rdynamic # TODO: we need general GUI for MacOS # we should use cocoa or sdl ;;