Skip to content

Remove link option -Bsymbolic

Kai Kang requested to merge kai/virglrenderer:master into master

When gcc compile options '-O2 -fvisibility=default' are applied, it fails to compile virglrenderer for x86:

| ld: gallium/auxiliary/.libs/libgallium.a(u_cpu_detect.o): relocation R_386_GOTOFF against undefined symbol `util_cpu_caps' can not be used when making a shared object | ld: final link failed: bad value | collect2: error: ld returned 1 exit status

Remove link option '-Bsymbolic' to fix the failure.

Signed-off-by: Kai Kang kai.kang@windriver.com

Edited by Kai Kang

Merge request reports

Loading