[RPL/2] RPL/2 4.0.15

BERTRAND Joel joel.bertrand at systella.fr
Lun 24 Mai 11:13:52 CEST 2010


DEMAINE Benoit-Pierre a écrit :
> On 23/05/10 17:40, BERTRAND Joel wrote:
>>      Hello,
>>
>>      I have uploaded a new release of RPL/2 with some new functionalities:
>
> Je sais pas si c'est grave; j'ose pas envoyer sur la ML;

	You have sent your message to mailing list ;-)

> ma Gentoo a
> tout compilé, mais refuse de finaliser l'installation (me make install
> est fait dans une sorte de chroot, comme l'appli l'entend; si le
> résultat le plait pas à Gentoo, elle drop tout). Tout est compilé, mais
> rien n'a été "mergé" avec le / .
>
> J'imagine qu'en fouinant un peu, je devrais pouvoir la forcer à
> installer quand même.
>
> Mais je te l'envoies, parce qu'elle liste un bon nombre de points
> évoquant que ça pourrait ne pas s'executer correctement, sur mon Archi,
> et peut être d'autres.
>
> J'ai eu les warnings pour la 4.0.14, mais l'erreur de mremap/malloc est
> nouvelle pour la 4.0.15

	Malloc comes from libptmalloc3.a and not from libc due to some strange 
malloc flavours. I don't understand why gento complaims about 
libptmalloc3 because ptmalloc is used by GNU libc...

> NB: les messages d'erreurs ne savent pas que j'ai fait l'ebuild moi
> meme, et présument à tord que ton appli fait partie de la distro
> (allusions abusives au BTS officiel).
>
> Makefile:968: warning: overriding commands for target `all'
> Makefile:301: warning: ignoring old commands for target `all'
> make[2]: Nothing to be done for `install-exec-am'.
> test -z "/var/tmp/portage/doublehp-dhp/rpl2-4.0.15/image//usr/include"
> || /bin/
> kdir -p "/var/tmp/portage/doublehp-dhp/rpl2-4.0.15/image//usr/include"
>   /usr/bin/install -c -m 644 rplconfig.h
> '/var/tmp/portage/doublehp-dhp/rpl2-4.0
> 15/image//usr/include'
> make[2]: Leaving directory
> `/var/tmp/portage/doublehp-dhp/rpl2-4.0.15/work/rpl-
> .0.15'
> make[1]: Leaving directory
> `/var/tmp/portage/doublehp-dhp/rpl2-4.0.15/work/rpl-
> .0.15'
>>>> Completed installing rpl2-4.0.15 into
> /var/tmp/portage/doublehp-dhp/rpl2-4.
> .15/image/
>
>   * QA Notice: Automake "maintainer mode" detected:
>   *
>   *       cd .&&  /bin/sh
> /var/tmp/portage/doublehp-dhp/rpl2-4.0.15/work/rpl-4.0
> 15/missing --run automake-1.11 --gnu
>   *
>   * If you patch Makefile.am, configure.in,  or configure.ac then you
>   * should use autotools.eclass and eautomake or eautoreconf. Exceptions
>   * are limited to system packages for which it is impossible to run
>   * autotools during stage building. See
>   * http://www.gentoo.org/proj/en/qa/autofailure.xml for more information.
> ecompressdir: bzip2 -9 /usr/share/man

	You can use autoreconf or similar tools to rebuild m4 macro files.

>   * QA Notice: The following files contain writable and executable sections
>   *  Files with such sections will not work properly (or at all!) on some
>   *  architectures/operating systems.  A bug should be filed at
>   *  http://bugs.gentoo.org/ to make sure the issue is fixed.
>   *  For more information, see http://hardened.gentoo.org/gnu-stack.xml
>   *  Please include the following list of files in your report:
>   *  Note: Bugs should be filed for the respective maintainers
>   *  of the package in question and not hardened at g.o.
>   * RWX --- --- usr/bin/rpl

	I don't understand this message. All relocatable files don't have any 
executable stack :

cauchy:[~/rpl/build/src] > scanelf -eR .
  TYPE   STK/REL/PTL FILE
ET_REL --- --- --- ./rpl-instructions_p7.conv.o
ET_REL --- --- --- ./librpl_a-instructions_y1.conv.o
ET_REL --- --- --- ./librpl_a-calcul_integral.conv.o
ET_REL --- --- --- ./rpl-gestion_threads.conv.o
ET_REL --- --- --- ./rpl-sql.conv.o
ET_REL --- --- --- ./librpl_a-arithmetique.conv.o
ET_REL --- --- --- ./rpl-operations_binaires.conv.o
ET_REL --- --- --- ./rpl-instructions_r3.conv.o
ET_REL --- --- --- ./librpl_a-instructions_s10.conv.o
ET_REL --- --- --- ./librpl_a-algebre_lineaire4.conv.o
ET_REL --- --- --- ./librpl_a-combinaisons.conv.o
ET_REL --- --- --- ./rpl-instructions_c3.conv.o
ET_REL --- --- --- ./librpl_a-instructions_d6.conv.o
ET_REL --- --- --- ./rpl-instructions_f3.conv.o
ET_REL --- --- --- ./librpl_a-instructions_k1.conv.o
ET_REL --- --- --- ./librpl_a-gestion_interruptions.conv.o
ET_REL --- --- --- ./librpl_a-sommations.conv.o
...

and final executable has :
ET_EXEC RWX --- RW- ./rpl

	If you find an explanation, please send me a mail. RPL/2 doesn't use 
executable in stack.

>   * QA Notice: Package has poor programming practices which may compile
>   *            fine but exhibit random runtime failures.
>   * malloc.c:3553: warning: implicit declaration of function 'mremap'
>
>   *
>   * QA Notice: Package has poor programming practices which may compile
>   *            but will almost certainly crash on 64bit architectures.
>   *
>   * Function `mremap' implicitly converted to pointer at malloc.c:3553
>   *

	This allocator comes from glibc and has been tested in 64 bits mode on 
several systems and architecture (including sparc64 with alignement). 
This last message is a false alarm because ptmalloc3 is a system level 
library, not a user level one.

	Regards,

	JKB


Plus d'informations sur la liste de diffusion RPL2