[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #16 from commit-h...@freebsd.org ---
A commit references this bug:

Author: dim
Date: Sun Mar 13 18:32:18 UTC 2016
New revision: 296801
URL: https://svnweb.freebsd.org/changeset/base/296801

Log:
  Pull in r219512 from upstream llvm trunk (by Hal Finkel):

[MiSched] Fix a logic error in tryPressure()

Fixes a logic error in the MachineScheduler found by Steve Montgomery
(and confirmed by Andy). This has gone unfixed for months because the
fix has been found to introduce some small performance regressions.
However, Andy has recommended that, at this point, we fix this to
avoid further dependence on the incorrect behavior (and then
follow-up separately on any regressions), and I agree.

Fixes PR18883.

  This fixes a possible "ran out of registers" error when compiling
  www/firefox 45.0 on i386.

  Direct commit to stable/9, because head already has this fix since the
  llvm/clang 3.6.0 import.

  PR:   207837

Changes:
  stable/9/contrib/llvm/lib/CodeGen/MachineScheduler.cpp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #14 from Jan Beich  ---
(In reply to Dimitry Andric from comment #13)
OPTIMIZED_CFLAGS is enabled by default. It doesn't pass just -O3 but also
--enable-optimize which lets vendor decide whether to pass -fomit-frame-pointer
and (in later versions) rust -O.

https://dxr.mozilla.org/mozilla-central/search?q=MOZ_OPTIMIZE

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #12 from Dimitry Andric  ---
Strangely, I tried building www/firefox on stable/10, from before r410973 was
applied, and it builds just fine for me, even the problematic
Unified_cpp_protocol_websocket0.cpp file.  I'm unsure what is different in my
environment from the original submitter, though.  This is on pretty plain
stable/10 r294049, as of 2016-01-21.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #10 from commit-h...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sun Mar 13 15:17:03 UTC 2016
New revision: 410995
URL: https://svnweb.freebsd.org/changeset/ports/410995

Log:
  MFH: r410973

  www/firefox: work around Clang 3.4 crash with OPTIMIZED_CFLAGS=off

  Pretend we want C++14 to pull more modern version of Clang on 10.x i386.

  PR:   207837
  Approved by:  ports-secteam (junovitch)

Changes:
_U  branches/2016Q1/
  branches/2016Q1/Mk/bsd.gecko.mk

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #9 from commit-h...@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Sun Mar 13 14:42:59 UTC 2016
New revision: 410973
URL: https://svnweb.freebsd.org/changeset/ports/410973

Log:
  www/firefox: work around Clang 3.4 crash with OPTIMIZED_CFLAGS=off

  Pretend we want C++14 to pull more modern version of Clang on 10.x i386.

  PR:   207837
  MFH:  2016Q1

Changes:
  head/Mk/bsd.gecko.mk

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

Jan Beich  changed:

   What|Removed |Added

 CC||jbe...@freebsd.org

--- Comment #8 from Jan Beich  ---
(In reply to Vikash Badal from comment #7)
> ---Begin OPTIONS List---
> [...]
> OPTIMIZED_CFLAGS=off: Use extra compiler optimizations

$ make config -C /usr/ports/www/firefox


I'll add a workaround later via USES=compiler:c++14-lang.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

--- Comment #7 from Vikash Badal  ---
(In reply to Jan Beich from comment #3)


I tried adding OPTIMIZED_CFLAGS=on to the make.conf for the poudriere jail

---Begin make.conf---
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
 /usr/local/etc/poudriere.d/RELENG_10_2_i386-make.conf 
WITH_PKGNG=yes
WITH_GALLIUM="yes"
DEFAULT_VERSIONS=apache=2.2 php=5.6
OPTIMIZED_CFLAGS=on

still fails

full log:

http://anger.where-ever.za.net/~vikashb/firefox-45.0_3,1-OPTIMIZED_CFLAGS_off.log

not sure if i missed the plot here

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 207837] www/firefox: clang34 and clang35 crash on i386 with -O2 -fstack-protector (OPTIMIZED_CFLAGS=off)

2016-03-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207837

Jan Beich  changed:

   What|Removed |Added

Summary|www/firefox: clang34 and|www/firefox: clang34 and
   |clang35 crash on i386 with  |clang35 crash on i386 with
   |-O2 -fstack-protector   |-O2 -fstack-protector
   ||(OPTIMIZED_CFLAGS=off)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"