Date: Fri, 26 Sep 2014 03:04:35 +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-lQc8RIR1oe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-193610-28929@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193610 --- Comment #17 from Craig Wiesen <ctyz1999+bugzilla@gmail.com> --- I have now also added this so /usr/ports/www/chromium/Makefile It seems to help force chromium build in poudriere. diff -u Makefile.orig Makefile --- Makefile.orig 2014-09-25 21:44:39.397280194 -0500 +++ Makefile 2014-09-25 19:59:45.731277514 -0500 @@ -16,6 +16,7 @@ CFLAGS+= -fno-stack-protector -isystem${LOCALBASE}/include BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ + gcc47:${PORTSDIR}/lang/gcc47 \ bash:${PORTSDIR}/shells/bash \ yasm:${PORTSDIR}/devel/yasm \ flock:${PORTSDIR}/sysutils/flock \ With that, I do not need the patch to /usr/ports/Mk/bsd.gcc Poudriere still emits all those scary gcc47 exit status messages and chrome still core dumps upon exit. I do not understand how poudriere can use non base gcc/clang versions ever? unless using the additional BUILD_DEPENDS to install the compiler in the jail and the overrides in /etc/make.conf /usr/local/etc/poudriere.d/make.conf In case it is useful for others': My entire /etc/make.conf (now) # kernel/world stuff CPUTYPE?=core2 KERNCONF=SANDYBRIDGE COMPAT4X=yes COMPAT5X=yes COMPAT6X=yes COMPAT7X=yes MAKE_IDEA=yes NO_PROFILE=yes PORTS_MODULES=emulators/virtualbox-ose-kmod # ports DEFAULT_VERSIONS= apache=2.4 mysql=5.6 perl5=5.18 php=5.5 ruby=2.0 BATCH=yes WITH_KMS=yes WITH_NEW_XORG=yes WITH_GALLIUM=yes WITH_OPENSSL_PORT=yes WITH_PKGNG=yes WITH_BDB6_PERMITTED=yes WITH_BDB_VER=6 WITH_SSP=yes WITH_SSP_PORTS=yes TESSERACT_LANGS=eng DISABLE_VULNERABILITIES=yes NO_IGNORE=1 FAVORITE_COMPILER=gcc OVERRIDE_LINUX_BASE_PORT=c6 OVERRIDE_LINUX_NONBASE_PORTS=c6 .if ${.CURDIR:M*/www/chromium*} CC=gcc47 CXX=g++47 CPP=cpp47 .endif .if ${.CURDIR:M*/graphics/libcdr*} CC=gcc47 CXX=g++47 CPP=cpp47 .endif .if ${.CURDIR:M*/x11/kdelibs4*} # cannot build with clang CC=gcc CXX=g++ CPP=cpp .endif <EOF> and /etc/src.conf WITH_CLANG_FULL=yes WITH_CLANG_IS_CC=yes CC=clang CXX=clang++ CPP=clang-cpp WITH_ICONV=yes WITH_IDEA=yes WITH_SSP=yes WITH_BDB6_PERMITTED=yes <EOF> To keep them in sync with poudriere I link to from /etc ls -lad /etc/make.conf /etc/src.conf lrwxr-xr-x 1 root wheel 36 May 14 23:18 /etc/make.conf -> /usr/local/etc/poudriere.d/make.conf lrwxr-xr-x 1 root wheel 35 May 14 23:19 /etc/src.conf -> /usr/local/etc/poudriere.d/src.conf (In reply to Craig Wiesen from comment #15) > 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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193610-28929-lQc8RIR1oe>
