ios - How do I resolve linker warning "ignoring linker optimzation hint at" in XCode? -


a google search "ignoring linker optimzation hint" practically turns nothing. note: "optimzation" exact spelling :)

i'm using 3rd party webrtc library (libjingle_peerconnection) pristine in 1 of apps , warnings when build iphone 6. i'm not sure if warning pop other devices, however, not appear when build simulator.

i have 68 of these bad boys in build output:

ld: warning: ignoring linker optimzation hint @ _cftmdl_128_neon+0xf0 because ldrinfoc.offset == 0

i'm not sure if should notify maintainers or if can resolve myself.

if you're compiling webrtc library using build scripts, warnings generated because of missing parameter in gyp_defines.

in order fix warnings, webrtc library needs compiled again parameter clang_xcode=1 in gyp_defines setting, below (only example):

export gyp_defines="$gyp_defines os=ios target_arch=arm64 clang_xcode=1" 

more issue can found here, on chromium forums: https://bugs.chromium.org/p/webrtc/issues/detail?id=5182

--

if you're not compiling webrtc library yourself, , instead installing webrtc library 3rd party source, don't believe there fix warnings stemming static library.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -