Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] palemoon again
Date: Fri, 14 Apr 2017 07:20:14
Message-Id: 899fc05e-61a6-86bd-8841-a27427ec6d1b@iinet.net.au
In Reply to: [gentoo-user] palemoon again by Ian Zimmerman
1 On 14/04/17 14:47, Ian Zimmerman wrote:
2 > Has anyone been able to build the 27.2.0 (and later) versions?
3 >
4 > I am consistently getting error logs like this:
5 >
6 > 828:48.36 test-array.o
7 > 828:48.36 test-ctors.o
8 > 828:48.77 ===
9 > 828:48.77 === If you get failures below, please file a bug describing the error
10 > 828:48.77 === and your environment (compiler and linker versions), and use
11 > 828:48.77 ===
12 > 828:48.78 === --disable-elf-hack until this is fixed.
13 > 828:48.78 === If you get failures below, please file a bug describing the error
14 > 828:48.78 ===
15 > 828:48.78 === and your environment (compiler and linker versions), and use
16 > 828:48.78 === --disable-elf-hack until this is fixed.
17 > 828:48.78 ===
18 > 828:48.79 0x000000000000000c (INIT) 0x4040
19 > 828:48.79 0x0000000000000019 (INIT_ARRAY) 0x9850
20 > 828:48.81 elfhack: /var/tmp/portage/www-client/palemoon-27.2.0/work/palemoon-27.2.0/build/unix/elfhack/
21 > elf.cpp:261: Elf::Elf(std::ifstream&): Assertion `segment->getFileSize() == phdr.p_filesz' failed.
22 > 828:48.81 gmake[5]: *** [Makefile:29: test-array.so] Aborted
23 > 828:48.82 gmake[5]: *** Waiting for unfinished jobs....
24 >
25 > [46+0]palemoon$ gcc --version
26 > gcc (Gentoo 4.9.4 p1.0, pie-0.6.4) 4.9.4
27 > Copyright (C) 2015 Free Software Foundation, Inc.
28 > This is free software; see the source for copying conditions. There is NO
29 > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
30 >
31 > [47+0]palemoon$ ld --version
32 > GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
33 > Copyright (C) 2015 Free Software Foundation, Inc.
34 > This program is free software; you may redistribute it under the terms of
35 > the GNU General Public License version 3 or (at your option) a later version.
36 > This program has absolutely no warranty.
37 >
38 >
39 They build with help. note that the ebuild doesn't seem to honour
40 EXTRA_ECONF so you have to modify the ebuild and re-manifest it.
41
42 src_configure() {
43 # Basic configuration:
44 mozconfig_init
45
46 mozconfig_disable updater
47 + mozconfig_disable elf-hack
48
49
50
51 BillK

Replies

Subject Author
Re: [gentoo-user] palemoon again Corbin Bird <corbinbird@×××××××.net>