Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2007 14:51:49 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Alexander Leidinger" <Alexander@leidinger.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linuxolator: amd64 Linux Test Project failures
Message-ID:  <790a9fff0701071251h2c25b52cjeb4061746a8e459@mail.gmail.com>
In-Reply-To: <20070107130631.5419ea16@Magellan.Leidinger.net>
References:  <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz> <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com> <790a9fff0612301955r35b16472r2429fbe3fce78228@mail.gmail.com> <20061231144257.61520dc8@Magellan.Leidinger.net> <20061231142412.GA28462@stud.fit.vutbr.cz> <790a9fff0612311121l662736e0ud6d3220382af072a@mail.gmail.com> <20070106170237.066f1ec7@Magellan.Leidinger.net> <790a9fff0701070000r4755202fy58e89565dc3edfc9@mail.gmail.com> <20070107130631.5419ea16@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/7/07, Alexander Leidinger <Alexander@leidinger.net> wrote:
> If you can build binutils with PROT_EXEC in mmap, we already have a
> winner for the PROT_EXEC stuff (= I may MFC this commit next WE).
>
When I try to build binutils, it stops building with the following error:

make[3]: Entering directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld'
/bin/sh /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap
"bison -y" /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/ldgram.y
y.tab.c ldgram.c y.tab.h ldgram.h --  -d
/var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/ld/../ylwrap: line 86:
33833 Broken pipe                 $prog ${1+"@"} "$input"
make[3]: *** [ldgram.c] Error 1
make[3]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/binutils-2.16.1-r3/work/build/ld'
make: *** [all-ld] Error 2

!!! ERROR: sys-devel/binutils-2.16.1-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called toolchain-binutils_src_compile
  toolchain-binutils.eclass, line 199:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.

I checked the build, and it built most of binutils (bfd, binutils,
etc, gas, gprof, intl, libiberty, opcodes), except for ld.

This failure always occurs, doesn't matter if PROT_EXEC is in the mmap
code or not.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0701071251h2c25b52cjeb4061746a8e459>