I attached the full build log.

I don't think the warning is related.  My understanding is that that
option just removes unused sections on linking.  But I will dig in
further to be sure.

Thanks,

Jason


On Fri, Dec 15, 2017 at 1:50 PM, Andreas Boll
<andreas.boll....@gmail.com> wrote:
> On Thu, Dec 14, 2017 at 08:29:25AM -0500, Jason Duerstock wrote:
>> Source: mesa
>> Severity: normal
>>
>> Dear Maintainer,
>>
>> On ia64, mesa appears to FTBFS due to a missing link to libpthread by libgbm:
>>
>> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -I../../../include 
>> -I../../../src -I../../../src/loader -I../../../src/gbm/main
>>  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
>> -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FL
>> OAT_ENABLED -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF 
>> -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN 
>> -DHAVE_GALLIUM_EXTRA_HUD=1 -DHAVE_LIBSENSORS=1 -DUSE_LIBGLVND=1 
>> -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING 
>> -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM 
>> -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRM_PLATFORM -DHAVE_DRI3 
>> -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -fvisibility=hidden  
>> -DDEFAULT_DRIVER_DIR='"/usr/lib/ia64-linux-gnu/dri:\${ORIGIN}/dri:/usr/lib/dri"'
>>  -I/usr/include/libdrm  -g -O2 -fdebug-prefix-map=/mnt/a/sid/mesa-17.3.0=. 
>> -Wformat -Werror=format-security -Wall -Wall 
>> -Werror=implicit-function-declaration -Werror=missing-prototypes 
>> -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99  
>> -no-undefined -version-info 1:0 -Wl,--gc-sections -Wl,--no-undefined  -o 
>> libgbm.la -rpath /usr/lib/ia64-linux-gnu main/backend.lo main/gbm.lo 
>> backends/dri/gbm_dri.lo!
>>   ../../sr
>>  c/loader/libloader.la ../../src/util/libmesautil.la 
>> ../../src/util/libxmlconfig.la -ldl 
>> ../../src/egl/wayland/wayland-drm/libwayland-drm.la -lwayland-server -ldrm
>> libtool: link: gcc -shared  -fPIC -DPIC  main/.libs/backend.o 
>> main/.libs/gbm.o backends/dri/.libs/gbm_dri.o  -Wl,--whole-archive 
>> ../../src/loader/.libs/libloader.a ../../src/util/.libs/libmesautil.a 
>> ../../src/util/.libs/libxmlconfig.a 
>> ../../src/egl/wayland/wayland-drm/.libs/libwayland-drm.a 
>> -Wl,--no-whole-archive  -lz -lexpat -lm -ldl -lwayland-server -ldrm  -g -O2 
>> -Wl,--gc-sections -Wl,--no-undefined   -Wl,-soname -Wl,libgbm.so.1 -o 
>> .libs/libgbm.so.1.0.0
>> /usr/bin/ld: Warning: gc-sections option ignored
>
> Maybe it's related to this warning.
>
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `u_thread_setname':
>> ./build/src/util/../../../src/util/u_thread.h:66: undefined reference to 
>> `pthread_setname_np'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `thrd_join':
>> ./build/src/util/../../../include/c11/threads_posix.h:336: undefined 
>> reference to `pthread_join'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `u_thread_create':
>> ./build/src/util/../../../src/util/u_thread.h:48: undefined reference to 
>> `pthread_sigmask'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `thrd_create':
>> ./build/src/util/../../../include/c11/threads_posix.h:296: undefined 
>> reference to `pthread_create'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `u_thread_create':
>> ./build/src/util/../../../src/util/u_thread.h:50: undefined reference to 
>> `pthread_sigmask'
>> ./build/src/util/../../../src/util/u_thread.h:50: undefined reference to 
>> `pthread_sigmask'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `call_once':
>> ./build/src/util/../../../include/c11/threads_posix.h:96: undefined 
>> reference to `pthread_once'
>> ./build/src/util/../../../include/c11/threads_posix.h:96: undefined 
>> reference to `pthread_once'
>> ../../src/util/.libs/libmesautil.a(libmesautil_la-u_queue.o): In function 
>> `u_thread_get_time_nano':
>> ./build/src/util/../../../src/util/u_thread.h:84: undefined reference to 
>> `pthread_getcpuclockid'
>>
>> I have attached the last 50 lines of the build log, but the full log is 
>> available if you need it.
>
> Yes, the full log would be nice, especially the part from configure
> would be interesting.
>
> Thanks,
> Andreas

Attachment: mesa.build.log.xz
Description: Binary data

Reply via email to