On 2010-04-21 17:24, Roman Divacky wrote: >> Tried llvm-devel-2.7.r101995 built with -O2, but no difference in the >> result. I guess it's a real bug in llvm. :) > > can you try with LLVM svn trunk? it works for me ok (with -O2 compilation) AFAICS the only change between r101995 and r102001 is in some ReleaseNotes.html file, so I guess I am using the very latest, bleeding edge revision already. :) I'm using the following diff to the devel/llvm-devel port: Index: devel/llvm-devel/Makefile =================================================================== RCS file: /home/mirror/ncvs/ports/devel/llvm-devel/Makefile,v retrieving revision 1.42 diff -u -d -r1.42 Makefile --- devel/llvm-devel/Makefile 18 Mar 2010 19:33:23 -0000 1.42 +++ devel/llvm-devel/Makefile 21 Apr 2010 15:32:37 -0000 _at__at_ -42,7 +42,8 _at__at_ CONFIGURE_ARGS+= --with-f2c=${LOCALBASE} .else CONFIGURE_ARGS+= --disable-assertions \ - --enable-optimized + --enable-optimized \ + --with-optimize-option="-O2" .endif CONFIGURE_ARGS+= --enable-bindings=none Index: devel/llvm-devel/Makefile.svn_rev =================================================================== RCS file: /home/mirror/ncvs/ports/devel/llvm-devel/Makefile.svn_rev,v retrieving revision 1.13 diff -u -d -r1.13 Makefile.svn_rev --- devel/llvm-devel/Makefile.svn_rev 5 Apr 2010 17:33:55 -0000 1.13 +++ devel/llvm-devel/Makefile.svn_rev 21 Apr 2010 15:32:37 -0000 _at__at_ -1 +1 _at__at_ -SVN_REV= 100430 +SVN_REV= 101995 Index: devel/llvm-devel/distinfo =================================================================== RCS file: /home/mirror/ncvs/ports/devel/llvm-devel/distinfo,v retrieving revision 1.27 diff -u -d -r1.27 distinfo --- devel/llvm-devel/distinfo 5 Apr 2010 17:33:55 -0000 1.27 +++ devel/llvm-devel/distinfo 21 Apr 2010 15:32:37 -0000 _at__at_ -1,3 +1,3 _at__at_ -MD5 (llvm-2.7.r100430.tar.bz2) = ab73db3fc7fbbdffda032131e31b91bf -SHA256 (llvm-2.7.r100430.tar.bz2) = f5933ed2e873fd65eae7ffd8a5f9077f1e42d33db573f2395f2bf56427f00e91 -SIZE (llvm-2.7.r100430.tar.bz2) = 10785591 +MD5 (llvm-2.7.r101995.tar.bz2) = 57cced37c718427b0100659fc5c09728 +SHA256 (llvm-2.7.r101995.tar.bz2) = 092b6eb50ad3e3f3789f112fe8dc4205c0259f4e29691a8cfa0d3d2329f6c3b9 +SIZE (llvm-2.7.r101995.tar.bz2) = 10897340Received on Wed Apr 21 2010 - 13:34:02 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC