Can you send me the preprocessed source file? It when it crashes
it tells you where it is, ie:

 PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 Preprocessed source(s) and associated run script(s) are located at:
 cc: note: diagnostic msg: /tmp/ptrace-GrLlZq.c
 cc: note: diagnostic msg: /tmp/ptrace-GrLlZq.sh
 cc: note: diagnostic msg: 

Thank you, Roman

On Fri, Dec 21, 2012 at 05:15:37PM -1000, Gerald Pfeifer wrote:
> If someone wants to have a look, this was on
>   10.0-CURRENT FreeBSD 10.0-CURRENT #6 r243901: Wed Dec 5 21:18:57 UTC 2012
> with
>   FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
> 
> Attached you'll find the log and two trace files created by clang.
> 
> Gerald
> 
> ---------- Forwarded message ----------
> From: Gerald Pfeifer <[email protected]>
> To: [email protected], [email protected],
>     [email protected]
> Date: Sat, 22 Dec 2012 02:11:32 +0000 (UTC)
> Subject: svn commit: r309380 - head/emulators/wine-devel
> 
> Author: gerald
> Date: Sat Dec 22 02:11:32 2012
> New Revision: 309380
> URL: http://svnweb.freebsd.org/changeset/ports/309380
> 
> Log:
>   Update to Wine 1.5.20.  This includes the following changes:
>    - A bunch of dlls with ugly names for API sets support.
>    - More ATL functions implemented.
>    - Still more C++ runtime functions.
>    - Several text rendering fixes.
>    - PostScript driver improvements.
>    - Various bug fixes.
>   
>   Force building with GCC since clang fails right now.
> 
> Modified:
>   head/emulators/wine-devel/Makefile
>   head/emulators/wine-devel/distinfo
>   head/emulators/wine-devel/pkg-plist
> 
> Modified: head/emulators/wine-devel/Makefile
> ==============================================================================
> --- head/emulators/wine-devel/Makefile        Sat Dec 22 01:41:15 2012        
> (r309379)
> +++ head/emulators/wine-devel/Makefile        Sat Dec 22 02:11:32 2012        
> (r309380)
> @@ -2,7 +2,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=    wine
> -DISTVERSION= 1.5.19
> +DISTVERSION= 1.5.20
>  PORTEPOCH=   1
>  CATEGORIES=  emulators
>  MASTER_SITES=        SF/${PORTNAME}/Source \
> @@ -28,6 +28,7 @@ CONFLICTS_INSTALL=  wine-1.4*
>  LATEST_LINK= wine-devel
>  CPPFLAGS+=   -I${LOCALBASE}/include
>  LDFLAGS+=    -L${LOCALBASE}/lib
> +USE_GCC=     any
>  GNU_CONFIGURE=       yes
>  CONFIGURE_ARGS+=--verbose --disable-tests \
>               --without-alsa --without-capi --without-dbus \

> cc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe 
> -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body 
> -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits 
> -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer 
> -Wpointer-arith -I/home/gerald/10-i386/include/freetype2 
> -I/home/gerald/10-i386/include   -I/home/gerald/10-i386/include -O2 -pipe 
> -fno-strict-aliasing  -o ptrace.o ptrace.c
> cc: warning: unknown warning option '-Wunused-but-set-parameter'; did you 
> mean '-Wunused-parameter'?
> warning: unknown warning option '-Wunused-but-set-parameter'; did you mean 
> '-Wunused-parameter'? [-Wunknown-warning-option]
> Assertion failed: (CanSROA), function visitUsers, file 
> /scratch/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SROA.cpp,
>  line 2395.
> Stack dump:
> 0.    Program arguments: /usr/bin/cc -cc1 -triple i386-unknown-freebsd10.0 
> -emit-obj -disable-free -main-file-name ptrace.c -mrelocation-model static 
> -mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases 
> -target-cpu i486 -momit-leaf-frame-pointer -coverage-file 
> /scratch2/tmp/gerald/wine-devel-work/wine-1.5.20/server/ptrace.o 
> -resource-dir /usr/bin/../lib/clang/3.2 -D __WINESRC__ -I . -I . -I 
> ../include -I ../include -I /home/gerald/10-i386/include/freetype2 -I 
> /home/gerald/10-i386/include -I /home/gerald/10-i386/include 
> -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wall 
> -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers 
> -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings 
> -Wpointer-arith -fconst-strings -fdebug-compilation-dir 
> /scratch2/tmp/gerald/wine-devel-work/wine-1.5.20/server -ferror-limit 19 
> -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep 
> -fdiagnostics-show-option -o ptrace.o -x c ptrace.c 
> 1.    <eof> parser at end of file
> 2.    Per-function optimization
> 3.    Running pass 'SROA' on function '@write_process_memory'
> cc: error: unable to execute command: Abort trap (core dumped)
> cc: error: clang frontend command failed due to signal (use -v to see 
> invocation)
> FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
> Target: i386-unknown-freebsd10.0
> Thread model: posix
> cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ 
> and include the crash backtrace, preprocessed source, and associated run 
> script.
> cc: note: diagnostic msg: 
> ********************
> 
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> cc: note: diagnostic msg: /tmp/ptrace-GrLlZq.c
> cc: note: diagnostic msg: /tmp/ptrace-GrLlZq.sh
> cc: note: diagnostic msg: 
> 
> ********************
> gmake[1]: *** [ptrace.o] Error 254
> gmake[1]: Leaving directory 
> `/scratch2/tmp/gerald/wine-devel-work/wine-1.5.20/server'
> gmake: *** [server] Error 2
> *** [do-build] Error code 1
> 
> Stop in /shscratch/tmp/gerald/ports.svn/emulators/wine-devel.
> Failure!

> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "[email protected]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"

Reply via email to