Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2014 11:30:21 +0100
From:      =?UTF-8?B?UmVuw6kgTGFkYW4=?= <rene@freebsd.org>
To:        freebsd-chromium@freebsd.org
Subject:   Re: Still segfault at start
Message-ID:  <545C9F3D.9070907@freebsd.org>
In-Reply-To: <b7ce42bdf581c2d84148281a66e3cc19@webmail.olejniczak.info>
References:  <5458E00E.6010008@freebsd.org> <5458898A.3030306@freebsd.org> <54562C5D.5050603@freebsd.org> <20141102100531.GA5218@lena.kiev> <0242ddfdf4f8ab796793d3f186e60d39@webmail.olejniczak.info> <36593714051f36274387c822a86dc293@webmail.olejniczak.info> <b7ce42bdf581c2d84148281a66e3cc19@webmail.olejniczak.info>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05-11-2014 12:47, Tomek wrote:
> Hi,
>
> 4 listopada 2014 15:18 - "René Ladan" <rene@freebsd.org>:: 
>
>> Hm, maybe a 32 vs 64 bit issue. I'll try conditionally zeroing out the
>> result value in libexecinfo as you described, but I only have 32-bits
>> VMs to test with (my physical CPU misses required VT-x) and all hosts
>> run 10.0.
> The problem is that ffmpeg needs -fomit-frame-pointer in 32 bit. The below patch should fix it - for unknown reason gyp cflags_c! or cflags_cc! doesn't remove -fno-omit-frame-pointer so I've added -fomit-frame-pointer at the and of CFLAGS.
>
> Please check if it works for You.
>
> --- third_party/ffmpeg/ffmpeg.gyp.orig	2014-11-05 13:34:06.000000000 +0100
> +++ third_party/ffmpeg/ffmpeg.gyp	2014-11-05 13:35:24.000000000 +0100
> @@ -213,6 +213,12 @@
>                'cflags!': [
>                  '-fno-omit-frame-pointer',
>                ],
> +              'cflags_c': [
> +                '-fomit-frame-pointer',
> +              ],
> +              'cflags_cc': [
> +                '-fomit-frame-pointer',
> +              ],
>                'debug_extra_cflags!': [
>                  '-fno-omit-frame-pointer',
>                ], 
>
Chrome indeed starts with this in my 8.4-i386 VM. This fixes
ports/193610 right?

René



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