Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL

2018-12-11 Thread Jacek Konieczny
Hi,

I am preparing package for Mesa 18.3.0, switching the build system to
Meson, as autoconf/automake is deprecated.

I made it build, but without OpenCL. The problem is the Clover part of
Mesa requires RTTI to build (uses dynamic_cast) and Mesa is build
-fno-rtti when compiled with LLVM built without RTTI.

LLVM builds without RTTI by default, but it should be possible to build
it with RTTI, using 'REQUIRES_RTTI=1', which we have in our llvm.spec.
It doesn't seem to work, though:

[jajcus@jajo ~]$ llvm-config --has-rtti
NO
[jajcus@jajo ~]$ rpm -qf `which llvm-config`
llvm-devel-7.0.0-1.x86_64

Should we fix it? It is disabled in LLVM for a reason, but it seems Mesa
expects it rather enabled. Also, changing the setting now will change
the ABI, which will force us to recompile everything compiled with
current LLVM. And I am not sure how to fix it, anyway.


Other than that, I would be glad if someone would try the new Mesa, to
see if the build works for anything other than Intel GPU. Especially the
Gallium drivers.

Jacek
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/nagios-plugin-check_raid] - rel 3; use separate config, so nagios_nrpe rpm macros can deal with it

2018-12-11 Thread Arkadiusz Miśkiewicz
On 11/12/2018 14:55, glen wrote:
> On 12/11/18 2:52 PM, arekm wrote:
> 
>>  - rel 3; use separate config, so nagios_nrpe rpm macros can deal
>> with it
> 
> why not just patch and enable bbu by default?
> 

Fine with me (there is no option to disable it though, on per host basis).

Kind of

--bbu-monitoring=0

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/nagios-plugin-check_raid] - rel 3; use separate config, so nagios_nrpe rpm macros can deal with it

2018-12-11 Thread glen

On 12/11/18 2:52 PM, arekm wrote:


 - rel 3; use separate config, so nagios_nrpe rpm macros can deal with it


why not just patch and enable bbu by default?

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: [packages/nagios-plugin-check_raid] - rel 2; plugin doesn't monitor bbu by default, so provide separate template command and template fo

2018-12-11 Thread glen



On 12/11/18 2:13 PM, arekm wrote:

commit 5fe36881db12eb4ba498c749cb310450ce57138d
Author: Arkadiusz Miśkiewicz 
Date:   Tue Dec 11 13:13:17 2018 +0100

 - rel 2; plugin doesn't monitor bbu by default, so provide separate 
template command and template for that


you can just use:

check_command   check_raid!--bbu-monitoring



also, if you insist on new template, extend the previous one, not copy paste?

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


openssl again makes php5.3 crash

2018-12-11 Thread Elan Ruusamäe


$ docker run --privileged --rm -it registry.gitlab.com/pld-linux/pld sh

[@42300ff78c63 /]# poldek -u --noask composer gdb --ignore=*php4* 
--ignore=*php52*


[@42300ff78c63 /]# poldek -n th-debuginfo -u php53-debuginfo 
openssl-debuginfo


[@42300ff78c63 /]# cd /tmp

[@42300ff78c63 /tmp]# echo '{}' > composer.json


[@42300ff78c63 /tmp]# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root 
for details

Loading composer repositories with package information
Segmentation fault

[@42300ff78c63 /tmp]# composer config -g -- disable-tls true
Do not run Composer as root/super user! See https://getcomposer.org/root 
for details

[@42300ff78c63 /tmp]# composer install
You are running Composer with SSL/TLS protection disabled.
Do not run Composer as root/super user! See https://getcomposer.org/root 
for details

Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
[@42300ff78c63 /tmp]#

[@236200a329d5 r]# rpm -q php53-common openssl
php53-common-5.3.29-43.x86_64
openssl-1.1.1a-1.x86_64
[@236200a329d5 r]#




[@42300ff78c63 /tmp]# composer config -g -- disable-tls false
You are running Composer with SSL/TLS protection disabled.
Do not run Composer as root/super user! See https://getcomposer.org/root 
for details

[@42300ff78c63 /tmp]# gdb --args php /usr/bin/composer install
GNU gdb (GDB) 8.2-2 (PLD Linux)
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 


This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pld-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
    .

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from php...Reading symbols from 
/usr/lib/debug/usr/bin/php53.debug...done.

done.
(gdb) r
Starting program: /usr/bin/php /usr/bin/composer install
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[Detaching after fork from child process 333]
[Detaching after fork from child process 334]
[Detaching after fork from child process 335]
[Detaching after fork from child process 336]
[Detaching after fork from child process 337]
[Detaching after fork from child process 338]
[Detaching after fork from child process 339]
Do not run Composer as root/super user! See https://getcomposer.org/root 
for details

[Detaching after fork from child process 340]
Loading composer repositories with package information

Program received signal SIGSEGV, Segmentation fault.
0x77e66731 in _zval_ptr_dtor (zval_ptr=0x76853f9000) at 
/usr/src/debug/php-5.3.29/Zend/zend_execute_API.c:434

434        zval *zv = *zval_ptr;
(gdb) bt
#0  0x77e66731 in _zval_ptr_dtor (zval_ptr=0x76853f9000) at 
/usr/src/debug/php-5.3.29/Zend/zend_execute_API.c:434
#1  0x77ec0f85 in zend_leave_helper_SPEC 
(execute_data=execute_data@entry=0x76853eb0) at 
/usr/src/debug/php-5.3.29/Zend/zend_vm_execute.h:160
#2  0x77ec148a in ZEND_RETURN_SPEC_VAR_HANDLER 
(execute_data=0x76853eb0) at 
/usr/src/debug/php-5.3.29/Zend/zend_vm_execute.h:8255
#3  0x77e99e61 in execute (op_array=0x131dec8) at 
/usr/src/debug/php-5.3.29/Zend/zend_vm_execute.h:107
#4  0x77e76597 in zend_execute_scripts (type=type@entry=8, 
retval=retval@entry=0x0, file_count=file_count@entry=3) at 
/usr/src/debug/php-5.3.29/Zend/zend.c:1259
#5  0x77e23d38 in php_execute_script 
(primary_file=primary_file@entry=0x7fffd090) at 
/usr/src/debug/php-5.3.29/main/main.c:2316
#6  0x00404939 in main (argc=3, argv=0x7fffe458) at 
/usr/src/debug/php-5.3.29/sapi/cli/php_cli.c:1189

(gdb)

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en