Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Mesa update



On Thu, Apr 11, 2019 at 04:54:03PM +0000, coypu%sdf.org@localhost wrote:
> On Thu, Apr 11, 2019 at 04:49:09PM +0000, coypu%sdf.org@localhost wrote:
> > argh. now I see it too. I had pkgsrc xorg in the middle and in the RPATH
> > complicating testing :_/
> 
> Ah, disregard, I had the old libGL.so.3.0 (because I unpacked sets, but
> for this manipulation I only re-linked libGL.so.
> 
> Putting libGL.so that is linked against pthread makes it work as befor.e

Double checking, I zapped /usr/obj, made a new release with this morning's
source, deleting DESTDIR.  With those fresh sets installed, and checking:

libGL.so.3.0:
        -lXext.7 => /usr/X11R7/lib/libXext.so.7
        -lX11.7 => /usr/X11R7/lib/libX11.so.7
        -lxcb.2 => /usr/X11R7/lib/libxcb.so.2
        -lXau.7 => /usr/X11R7/lib/libXau.so.7
        -lc.12 => /usr/lib/libc.so.12
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
        -lXxf86vm.2 => /usr/X11R7/lib/libXxf86vm.so.2
        -lXfixes.4 => /usr/X11R7/lib/libXfixes.so.4
        -lXdamage.2 => /usr/X11R7/lib/libXdamage.so.2
        -lglapi.1 => /usr/X11R7/lib/libglapi.so.1
        -lstdc++.9 => /usr/lib/libstdc++.so.9
        -lm.0 => /usr/lib/libm.so.0
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -ldrm.3 => /usr/X11R7/lib/libdrm.so.3
        -lpci.2 => /usr/lib/libpci.so.2
        -lX11-xcb.1 => /usr/X11R7/lib/libX11-xcb.so.1
        -lxcb-dri2.0 => /usr/X11R7/lib/libxcb-dri2.so.0
        -lxcb-glx.0 => /usr/X11R7/lib/libxcb-glx.so.0
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lpthread.1 => /usr/lib/libpthread.so.1

so there is a pthread, I see:

(gdb) run
Starting program: /usr/pkg/bin/glmark2 
[New LWP 1 of process 792]

Thread 2 received signal SIGABRT, Aborted.
0x00007f7ff58427ca in _sys___sigprocmask14 () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff58427ca in _sys___sigprocmask14 () from /usr/lib/libc.so.12
#1  0x00007f7ff16096ee in pthread_sigmask (how=<optimized out>, 
    set=<optimized out>, oset=<optimized out>)
    at /usr/src/lib/libpthread/pthread_misc.c:146
#2  0x00007f7ff0828eee in u_thread_create (
    routine=0x7f7ff08288fd <util_queue_thread_func>, param=0x7f7ff7ee4120)
    at /usr/xsrc/external/mit/MesaLib/dist/src/util/u_thread.h:49
#3  util_queue_init (queue=queue@entry=0x7f7ff7e90900, 
    name=name@entry=0x7f7ff0cdf8ba "disk$", max_jobs=max_jobs@entry=32, 
    num_threads=num_threads@entry=1, flags=flags@entry=7)
    at /usr/xsrc/external/mit/MesaLib/dist/src/util/u_queue.c:377
#4  0x00007f7ff0827c8b in disk_cache_create (
    gpu_name=gpu_name@entry=0x7f7fffffd765 "i965_0126", 
    driver_id=driver_id@entry=0x7f7fffffd770 "1bddf4975d907e87b5041531bb48868ebeba7ab0", driver_flags=0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/util/disk_cache.c:387
#5  0x00007f7ff0826b1c in brw_disk_cache_init (
    screen=screen@entry=0x7f7ff7bd3030)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_disk_cache.c:401
#6  0x00007f7ff06e9091 in intelInitScreen2 (dri_screen=<optimized out>)
    at i965_intel_screen.c:2751
#7  0x00007f7ff0b39da7 in driCreateNewScreen2 (scrn=0, fd=4, 
    extensions=<optimized out>, driver_extensions=<optimized out>, 
    driver_configs=0x7f7fffffe2e8, data=0x7f7ff7e32000)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/dri_util.c:153
#8  0x00007f7ff4247966 in dri2CreateScreen (screen=0, priv=0x7f7ff7e89150)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/dri2_glx.c:1279
#9  0x00007f7ff422e586 in AllocAndFetchScreenConfigs (priv=0x7f7ff7e89150, 
    dpy=0x7f7ff7e72000)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxext.c:826
#10 __glXInitialize (dpy=0x7f7ff7e72000)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxext.c:949
#11 0x00007f7ff423014a in glXQueryVersion (dpy=<optimized out>, 
    major=0x7f7fffffe3a8, minor=0x7f7fffffe3ac)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxcmds.c:485
#12 0x000000000040b320 in gladLoadGLXUserPtr ()
#13 0x0000000000407488 in GLStateGLX::init_display (
    this=this@entry=0x7f7fffffe510, native_display=<optimized out>, 
    visual_config=...) at ../src/gl-state-glx.cpp:44
#14 0x0000000000405593 in CanvasGeneric::init (this=0x7f7fffffe560)
    at ../src/canvas-generic.cpp:43
#15 0x00000000004cf119 in main (argc=<optimized out>, argv=<optimized out>)
    at ../src/main.cpp:205

(at least symbols seem happy...)

I wonder why you don't see this too...


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index