Summary: | multimedia/vdr crashes when not compiled with GCC | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | martin.dieringer | ||||
Component: | Individual Port(s) | Assignee: | Juergen Lock <nox> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | tijl | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | i386 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
martin.dieringer
2014-08-11 15:29:14 UTC
over to maintainer Do you actually need USE_GCC=yes, or is USE_GCC=any sufficient? (vdr doesn't crash here, neither on 9.2 nor on 10.0 and the backtrace in private email didn't tell me the actual cause - so I guess we'll just have to add an USE_GCC that works for you for now.) USE_GCC=any compiles with g++47, too, so for me it is sufficient A commit references this bug: Author: nox Date: Tue Aug 12 16:07:27 UTC 2014 New revision: 364716 URL: http://svnweb.freebsd.org/changeset/ports/364716 Log: - Add USE_GCC=any to fix crashes on 10.0 . (which I cannot reproduce tho) - Bump PORTREVISION. PR: 192583 Submitted by: martin.dieringer@gmx.de Changes: head/multimedia/vdr/Makefile Committed. Thanks! What architecture is this (output of "uname -m")? FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:26:10 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 You may be onto something... It didn't crash with clang on 10.0-R/amd64 . Doesn't crash on my amd64 machine either AFAIR. Probably the USE_GCC could be conditional ... A commit references this bug: Author: nox Date: Tue Aug 12 16:47:48 UTC 2014 New revision: 364721 URL: http://svnweb.freebsd.org/changeset/ports/364721 Log: - Turns out the 10.0-R clang crashes I couldn't reproduce (on amd64) were in fact on i386 - since this was the first report I got of this kind (and I don't have an i386 box anymore myself) let's assume it's an i386 issue. So change the USE_GCC=any to be i386-only. - Bump PORTREVISION. PR: 192583 Changes: head/multimedia/vdr/Makefile You should take a look at multimedia/gstreamer1-libav/Makefile. It adds "-mstack-alignment=16 -mstackrealign" to CFLAGS for clang && i386. This realigns the stack on a 16 byte boundary when calling a function. Some asm code that uses SSE instructions relies on that. Created attachment 145727 [details]
clang/i386 stack alignment patch for testing
Can you test this patch if it also fixes the crashes? And if it does rebuild all your plugins since they (may) inherit these changed C{,XX}FLAGS and then see if everything still runs?
Thanx!
Juergen
Unfortunately not. PORTREVISION 6 is ok, 7 crashes. I recompiled all plugins too (with clang...) Ok then I fear the USE_GCC will have to stay for i386. Thanx for testing! Juergen |