Gentoo Archives: gentoo-user

From: Corbin Bird <corbinbird@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] palemoon again
Date: Fri, 14 Apr 2017 16:42:10
Message-Id: 58F0FBC8.2070705@charter.net
In Reply to: Re: [gentoo-user] palemoon again by Bill Kenworthy
1 On 04/14/2017 02:12 AM, Bill Kenworthy wrote:
2 > On 14/04/17 14:47, Ian Zimmerman wrote:
3 >> Has anyone been able to build the 27.2.0 (and later) versions?
4 >>
5 >> I am consistently getting error logs like this:
6 >>
7 >> 828:48.36 test-array.o
8 >> 828:48.36 test-ctors.o
9 >> 828:48.77 ===
10 >> 828:48.77 === If you get failures below, please file a bug describing
11 >> the error
12 >> 828:48.77 === and your environment (compiler and linker versions), and
13 >> use
14 >> 828:48.77 ===
15 >> 828:48.78 === --disable-elf-hack until this is fixed.
16 >> 828:48.78 === If you get failures below, please file a bug describing
17 >> the error
18 >> 828:48.78 ===
19 >> 828:48.78 === and your environment (compiler and linker versions), and
20 >> use
21 >> 828:48.78 === --disable-elf-hack until this is fixed.
22 >> 828:48.78 ===
23 >> 828:48.79 0x000000000000000c (INIT) 0x4040
24 >> 828:48.79 0x0000000000000019 (INIT_ARRAY) 0x9850
25 >> 828:48.81 elfhack:
26 >> /var/tmp/portage/www-client/palemoon-27.2.0/work/palemoon-27.2.0/build/unix/elfhack/
27 >>
28 >> elf.cpp:261: Elf::Elf(std::ifstream&): Assertion
29 >> `segment->getFileSize() == phdr.p_filesz' failed.
30 >> 828:48.81 gmake[5]: *** [Makefile:29: test-array.so] Aborted
31 >> 828:48.82 gmake[5]: *** Waiting for unfinished jobs....
32 >>
33 >> [46+0]palemoon$ gcc --version
34 >> gcc (Gentoo 4.9.4 p1.0, pie-0.6.4) 4.9.4
35 >> Copyright (C) 2015 Free Software Foundation, Inc.
36 >> This is free software; see the source for copying conditions. There
37 >> is NO
38 >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
39 >> PURPOSE.
40 >>
41 >> [47+0]palemoon$ ld --version
42 >> GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
43 >> Copyright (C) 2015 Free Software Foundation, Inc.
44 >> This program is free software; you may redistribute it under the terms of
45 >> the GNU General Public License version 3 or (at your option) a later
46 >> version.
47 >> This program has absolutely no warranty.
48 >>
49 >>
50 > They build with help. note that the ebuild doesn't seem to honour
51 > EXTRA_ECONF so you have to modify the ebuild and re-manifest it.
52 >
53 > src_configure() {
54 > # Basic configuration:
55 > mozconfig_init
56 >
57 > mozconfig_disable updater
58 > + mozconfig_disable elf-hack
59 >
60 >
61 >
62 > BillK
63 >
64 >
65 >
66
67 I am currently using Palemoon v27.2.1 from the overlay.
68
69 Please take a look at what version of "binutils" && "binutils-libs" you
70 are compiling Palemoon with. ( yes, two separate packages. )
71
72 Don't forget about checking the "eselect" binutils symlink, either.
73
74 My experience ... versions 25.x && 27.x work fine. v26.x gave me that
75 error every time.
76
77 Corbin

Replies

Subject Author
[gentoo-user] Re: palemoon again Ian Zimmerman <itz@×××××××.net>