Tom Browder
2013-Aug-17 11:15 UTC
[LLVMdev] [brlcad-devel] Clang vs. gcc for building BRL-CAD
On Fri, Aug 16, 2013 at 2:58 PM, Tom Browder <tom.browder at gmail.com> wrote:> On Fri, Aug 16, 2013 at 2:55 PM, Tom Browder <tom.browder at gmail.com>wrote: > >> ... >> > I'll see if I can try it with gcc 4.7 soon. >> >I haven't been able to build gcc 4.7.3 yet (prereq ppl build problems--I think that's why I stopped building gcc some time ago), but I did have success with building gcc-4.8.1 (ppl no longer required). That has uncovered a slew of errors not caught with gcc 4.4.5 or clang 3.3. Note that the clang trunk bug I reported has been fixed so it will be interesting to see if clang picks up the same (or other errors). I need to convert to a debug build so I can get through all the errors--will attach a list when complete. Best regards, -Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130817/11f066aa/attachment.html>
Tom Browder
2013-Aug-17 12:08 UTC
[LLVMdev] [brlcad-devel] Clang vs. gcc for building BRL-CAD
On Sat, Aug 17, 2013 at 6:15 AM, Tom Browder <tom.browder at gmail.com> wrote:> On Fri, Aug 16, 2013 at 2:58 PM, Tom Browder <tom.browder at gmail.com>wrote: > >> On Fri, Aug 16, 2013 at 2:55 PM, Tom Browder <tom.browder at gmail.com>wrote: >> >>> ... >>> >> I'll see if I can try it with gcc 4.7 soon. >>> >> > I haven't been able to build gcc 4.7.3 yet (prereq ppl build problems--I > think that's why I stopped building gcc some time ago), but I did have > success with building gcc-4.8.1 (ppl no longer required). > >Sorry for a bit of a false alarm: I forgot a BRL-CAD release build has -Werror turned on, so I'm not yet sure if that affects clang or not with the way I configured the CMake build (I merely changed the paths to the C and C++ compilers) . That has uncovered a slew of errors not caught with gcc 4.4.5 or>I should have said: That has uncovered a slew of warnings not caught with gcc 4.4.5 or clang 3.3. Best, -Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130817/799e3bb1/attachment.html>
Tom Browder
2013-Aug-17 15:50 UTC
[LLVMdev] [brlcad-devel] Clang vs. gcc for building BRL-CAD
On Sat, Aug 17, 2013 at 7:08 AM, Tom Browder <tom.browder at gmail.com> wrote:> On Sat, Aug 17, 2013 at 6:15 AM, Tom Browder <tom.browder at gmail.com>wrote: > >> On Fri, Aug 16, 2013 at 2:58 PM, Tom Browder <tom.browder at gmail.com>wrote: >> >>> On Fri, Aug 16, 2013 at 2:55 PM, Tom Browder <tom.browder at gmail.com>wrote: >>> >>>> ... >>>> >>> I'll see if I can try it with gcc 4.7 soon >>>> >>>> That has uncovered a slew of errors not caught with gcc 4.4.5 or >> clang 3.3. >> >Attached is a list of the gcc-4.8.1 warnings from a trunk rev 56916 build (made into errors) that, for some reason, don't show in a debug build (looks like compile flags may be different but I'm not sure at the moment--need to dig into BRL-CAD CMake environment some more). They look like legit problems but I haven't tried to fix them. Best, -Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130817/a19968ec/attachment.html>
Apparently Analagous Threads
- [LLVMdev] [brlcad-devel] Clang vs. gcc for building BRL-CAD
- [LLVMdev] [brlcad-devel] Clang vs. gcc for building BRL-CAD
- [LLVMdev] Clang vs. gcc for building BRL-CAD
- [LLVMdev] Error: llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
- [LLVMdev] Is this list for users?