Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2014 08:58:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 193610] chromium-37.0.2062.120_1 Bus error (core dumped)
Message-ID:  <bug-193610-28929-qa1zwGAyZ2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193610-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193610-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610

--- Comment #15 from Craig Wiesen <ctyz1999+bugzilla@gmail.com> ---

I ended up reverting back to gcc 4.7 to compile chromium.
chromium at least now launches and runs, still core dumps on exit though.


I took a patch found in 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189444
to allow my /etc/make.conf with overrides to DEFAULT_VERSIONS to work correctly
and not get bogus /usr/ports/lang/gcc (gcc48) depends pulled in.


--- /usr/ports/Mk/bsd.gcc.mk.orig    2014-09-20 22:19:32.980350051 -0500
+++ /usr/ports/Mk/bsd.gcc.mk    2014-09-20 17:02:51.695805244 -0500
@@ -148,7 +148,7 @@
 .  if ${OSVERSION} < ${_GCCVERSION_${v}_L} || ${OSVERSION} >
${_GCCVERSION_${v}_R} || !exists(/usr/bin/gcc)
 V:=            ${_GCCVERSION_${v}_V:S/.//}
 _GCC_PORT_DEPENDS:=    gcc${V}
-.   if ${_USE_GCC} == ${GCC_DEFAULT}
+.   if ${_USE_GCC} == ${GCC_DEFAULT}  && empty(DEFAULT_VERSIONS:Mgcc=*)
 _GCC_PORT:=        gcc
 .   else
 _GCC_PORT:=        gcc${V}






/etc/make.conf (relevant parts only)

DEFAULT_VERSIONS= apache=2.4 gcc=4.9 mysql=5.6 perl5=5.18 php=5.5 ruby=2.0
BATCH=yes
MAKE_JOBS_UNSAFE=yes
# bus error, core dumps - trying 4.7
# also attempt to shut off stack protection
.if ${.CURDIR:M*/www/chromium*}
 USE_GCC=4.7
 CC=gcc47
 CXX=g++47
 CPP=cpp47
 WITH_SSP=no
 WITH_SSP_PORTS=no
.endif



I duuno if I'd call it fixed, but maybe others can at least get chromium
running again.



(In reply to Craig Wiesen from comment #11)
> I am adding a me too.  Same thing as Rob B.
> 
> I have built chromium in poudriere, and from /usr/ports on the host.
> gcc4.8 and clang 3.4.1.
> 
> 
> I also saw my DEBUG=on version would not run. comment #7.
> 
> 
> 
> 
> > uname -a
> FreeBSD desktop.home.org 9.3-STABLE FreeBSD 9.3-STABLE #0 r271674: Tue Sep
> 16 13:12:37 CDT 2014    
> root@desktop.home.org:/usr/obj/usr/src/sys/SANDYBRIDGE  amd64
> 
> > gcc48 -v
> Using built-in specs.
> COLLECT_GCC=gcc48
> COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc48/gcc/x86_64-portbld-freebsd9.3/4.
> 8.3/lto-wrapper
> Target: x86_64-portbld-freebsd9.3
> ...
> Thread model: posix
> gcc version 4.8.3 (FreeBSD Ports Collection) 
> 
> > clang -v
> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
> Target: x86_64-unknown-freebsd9.3
> Thread model: posix
> Selected GCC installation: 
> 
> 
> Poudriere version: 3.0.17
> Host OSVERSION: 903503
> Jail OSVERSION: 903502
> 
> 
> ===> The following configuration options are available for
> chromium-37.0.2062.120_2:
>      CODECS=on: Compile and enable patented codecs like H.264
>      DEBUG=off: Build with debugging support
>      GCONF=on: GConf configuration backend support
>      PULSEAUDIO=on: PulseAudio sound server support
>      TEST=off: Build and/or run tests

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193610-28929-qa1zwGAyZ2>