All of those object files seem to come from assembly code assembled by
yasm. I actually don't understand the bug report though. So I am not
sure what needs fixing. I don't know of any systems that these files
don't work on. Besides that, the only architectures they get used on
are x86_64!

Is the problem that the sections are writable? What sort of section
should be used? Perhaps yasm has an option to output sections of that
kind.

Regarding your question about how an assembler is chosen, yasm is only
used on x86/x86_64. The file /mpn/Makeasm.am defines the build rules
which distinguish files to be built with yasm and those to be built
with gas or gcc.

Bill.

On Jan 29, 10:48 pm, François Bissey <f.r.bis...@massey.ac.nz> wrote:
> On Fri, 29 Jan 2010 07:02:15 Bill Hart wrote:> Hi all,
>
> > it is with pleasure that we (finally) officially release MPIR 1.3.0.
> > It is available at our websitehttp://www.mpir.org/
>
> Well I am making a Gentoo ebuild, it is already in the sage-on-gentoo
> overlay and will be in the science overlay soon.
> But it does come with some QA problems which apparently were already there
> in gmp:
>
>  * 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, seehttp://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 harde...@g.o.
>  * RWX --- --- usr/lib/libmpir.so.8.0.0
>  * !WX --- --- usr/lib/libmpir.a:add_n.o
>  * !WX --- --- usr/lib/libmpir.a:sub_n.o
>  * !WX --- --- usr/lib/libmpir.a:mul_1.o
>  * !WX --- --- usr/lib/libmpir.a:addmul_1.o
>  * !WX --- --- usr/lib/libmpir.a:submul_1.o
>  * !WX --- --- usr/lib/libmpir.a:lshift.o
>  * !WX --- --- usr/lib/libmpir.a:rshift.o
>  * !WX --- --- usr/lib/libmpir.a:dive_1.o
>  * !WX --- --- usr/lib/libmpir.a:diveby3.o
>  * !WX --- --- usr/lib/libmpir.a:divrem_1.o
>  * !WX --- --- usr/lib/libmpir.a:mod_1.o
>  * !WX --- --- usr/lib/libmpir.a:mod_34lsub1.o
>  * !WX --- --- usr/lib/libmpir.a:mode1o.o
>  * !WX --- --- usr/lib/libmpir.a:mul_basecase.o
>  * !WX --- --- usr/lib/libmpir.a:sqr_basecase.o
>  * !WX --- --- usr/lib/libmpir.a:umul.o
>  * !WX --- --- usr/lib/libmpir.a:udiv.o
>  * !WX --- --- usr/lib/libmpir.a:copyi.o
>  * !WX --- --- usr/lib/libmpir.a:copyd.o
> ---------------------------
> the link provided is instructive but I renounced fixing this for now due to 
> the
> amount of source files that needs to be dealt with.
> The fix for gmp doesn't apply because of the use of yasm on x86/amd64(x86_64).
> I also don't quite work out yet how a proper assembler is selected in the
> config script.
>
> Francois

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to