AnsweredAssumed Answered

Why does gbm_viv.so depends on libwayand-server.so

Question asked by Erik Larsson on Apr 20, 2018
Latest reply on Apr 28, 2018 by Erik Larsson

Hi!

 

When comparing imx-gpu-viv-6.2.4.p1.0-aarch64 with imx-gpu-viv-6.2.4.p0.2-aarch64 there is one strange difference. The file gbm_viv.so is depending on libwayland-server in version 6.2.4.p1.0 but not in 6.2.4.p0.2. I can't see any reason why one would need to build libwayland-server.so just to use the GPU on a framebuffer system.

To test this:

$ readelf -a imx-gpu-viv-6.2.4.p0.2-aarch64/gpu-core/usr/lib/gbm_viv.so | grep NEEDED                 
0x0000000000000001 (NEEDED)             Shared library: [libdrm.so.2]
0x0000000000000001 (NEEDED)             Shared library: [libGAL.so]
0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
$ readelf -a imx-gpu-viv-6.2.4.p1.0-aarch64/gpu-core/usr/lib/gbm_viv.so | grep NEEDED     
0x0000000000000001 (NEEDED)             Shared library: [libdrm.so.2]
0x0000000000000001 (NEEDED)             Shared library: [libGAL.so]
0x0000000000000001 (NEEDED)             Shared library: [libwayland-server.so.0]
0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]

It would be great to get a explanation why this change was added or if this is a configuration error.

 

Best regards,

Erik

Outcomes