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, wrote:
> On Thu, Apr 11, 2019 at 04:49:09PM +0000, 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 (because I unpacked sets, but
> for this manipulation I only re-linked
> Putting 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:
        -lXext.7 => /usr/X11R7/lib/
        -lX11.7 => /usr/X11R7/lib/
        -lxcb.2 => /usr/X11R7/lib/
        -lXau.7 => /usr/X11R7/lib/
        -lc.12 => /usr/lib/
        -lXdmcp.7 => /usr/X11R7/lib/
        -lXxf86vm.2 => /usr/X11R7/lib/
        -lXfixes.4 => /usr/X11R7/lib/
        -lXdamage.2 => /usr/X11R7/lib/
        -lglapi.1 => /usr/X11R7/lib/
        -lstdc++.9 => /usr/lib/
        -lm.0 => /usr/lib/
        -lgcc_s.1 => /usr/lib/
        -ldrm.3 => /usr/X11R7/lib/
        -lpci.2 => /usr/lib/
        -lX11-xcb.1 => /usr/X11R7/lib/
        -lxcb-dri2.0 => /usr/X11R7/lib/
        -lxcb-glx.0 => /usr/X11R7/lib/
        -lexpat.2 => /usr/lib/
        -lpthread.1 => /usr/lib/

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/
(gdb) bt
#0  0x00007f7ff58427ca in _sys___sigprocmask14 () from /usr/lib/
#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 (
    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, 
    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...



Home | Main Index | Thread Index | Old Index