Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-26 Thread Konstantin Belousov
On Wed, Sep 26, 2018 at 05:04:55PM +0200, Andreas Longwitz wrote: > >> One annotation to the script /etc/rc.d/ldconfig: I had expected that > >> this script during boot creates clean files ld-elf(32).so.hints in > >> /var/run. For 64 bit this is true, but for 32 bit not because ldconfig > >> with f

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-26 Thread Andreas Longwitz
>> I like to mention one thing concerning the source libmap.c. With the >> patch (yours or mine) and the libmap32.conf given above I see the >> following lmp_list when lm_fini() is called: >> >> lm_fini("1, $DEFAULT$" lml-Adresse 0x2826c208) >> lm_fini("f=/usr/local/lib, t=/usr/local/li

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-25 Thread Konstantin Belousov
On Tue, Sep 25, 2018 at 12:03:32AM +0200, Andreas Longwitz wrote: > > > > Can you try this instead ? > > > Yes I did on a server running FreeBSD 12.0-CURRENT (GENERIC) #0 r337452 > and - after a trivial adaptation of your patch - on FreeBSD 10.4-STABLE > #0 r337823 and everything works correct. >

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-24 Thread Andreas Longwitz
> > Can you try this instead ? > Yes I did on a server running FreeBSD 12.0-CURRENT (GENERIC) #0 r337452 and - after a trivial adaptation of your patch - on FreeBSD 10.4-STABLE #0 r337823 and everything works correct. My simple libmap32.conf now is: ## php52 [/usr/local/php52/] /usr/local/lib

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-21 Thread Konstantin Belousov
On Tue, Sep 11, 2018 at 10:47:58PM +0200, Andreas Longwitz wrote: > Thanks very much for answer ! > > Now I use the following libmap32.conf: > > ## php52 > [/usr/local/php52/lib/php/20060613/mysql.so] > /usr/local/lib/mysql/usr/local/lib32/mysql > [/usr/local/php52/] > /usr/local/lib

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-11 Thread Andreas Longwitz
Thanks very much for answer ! Now I use the following libmap32.conf: ## php52 [/usr/local/php52/lib/php/20060613/mysql.so] /usr/local/lib/mysql/usr/local/lib32/mysql [/usr/local/php52/] /usr/local/lib /usr/local/lib32 > I am having problem understanding what do you mean by step1/ste

Re: Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-09-02 Thread Konstantin Belousov
On Sat, Sep 01, 2018 at 12:32:07AM +0200, Andreas Longwitz wrote: > On a FreeBSD 10.4-STABLE r337823 (amd64) server I have to run some old > php52 scripts from an FreeBSD 8.4-STABLE r284383 (i386) server. I have > copied the old php software to /usr/local/php52, installed the ports > misc/compat8x

Constraints in libmap(32).conf do not work as expected, possible bug in rtld-elf

2018-08-31 Thread Andreas Longwitz
On a FreeBSD 10.4-STABLE r337823 (amd64) server I have to run some old php52 scripts from an FreeBSD 8.4-STABLE r284383 (i386) server. I have copied the old php software to /usr/local/php52, installed the ports misc/compat8x and misc/compat9x and have copied all missing 32-bit libraries from the ol