pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53436: firefox 61.0.1 build failure on NetBSD/i386 8.0_RC2
The following reply was made to PR pkg/53436; it has been noted by GNATS.
From: Jonathan Perkin <jperkin%joyent.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/53436: firefox 61.0.1 build failure on NetBSD/i386 8.0_RC2
Date: Mon, 9 Jul 2018 16:09:46 +0100
* On 2018-07-09 at 16:05 BST, Izumi Tsutsui wrote:
> I wonder if there is an i386 specific -fstack-protector problem,
> especially in the following function in gcc-6.4.0/gcc/config/i386/i386.c:
>
> ---
> /* For 32-bit code we can save PIC register setup by using
> __stack_chk_fail_local hidden function instead of calling
> __stack_chk_fail directly. 64-bit code doesn't need to setup any PIC
> register, so it is better to call __stack_chk_fail directly. */
>
> static tree ATTRIBUTE_UNUSED
> ix86_stack_protect_fail (void)
> {
> return TARGET_64BIT
> ? default_external_stack_protect_fail ()
> : default_hidden_stack_protect_fail ();
> }
We used to see something similar on SunOS where i386 had stack
protector issues whereas x86_64 was fine, until I applied this patch:
https://github.com/joyent/pkgsrc/commit/10aee3e4aef98c2bd8512ef4cb4278d0c7102d13#diff-88dca29c55d4e66af367aeefadf55a7a
Something similar might help you too.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index