[Oisf-devel] Building suricata 1.4.2 with clang

Victor Julien victor at inliniac.net
Mon Jun 10 10:30:56 UTC 2013


On 06/07/2013 04:18 PM, Sebastian Roschke wrote:
> I'm on Ubuntu Precise using clang version 3.2
> 
> $ clang --version
> clang version 3.2 (tags/RELEASE_32/final)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix

Right, I can reproduce the issue in a vm.

https://redmine.openinfosecfoundation.org/issues/820

Cheers,
Victor

> 
> On Fri, Jun 7, 2013 at 5:29 AM, Victor Julien <victor at inliniac.net
> <mailto:victor at inliniac.net>> wrote:
> 
>     On 06/07/2013 06:33 AM, Sebastian Roschke wrote:
>     > not sure if I should direct this request somewhere else. I am
>     trying to
>     > build suricata with clang and ASAN:
>     >
>     > CC=clang CFLAGS='-O0 -g -fsanitize=address' CPPFLAGS='-O0 -g
>     > -fsanitize=address' ./configure
>     > make
>     >
>     > This works fine. Running suricata afterwards miserably fails:
> 
>     What version of clang is this?
> 
>     Tried:
>     Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM
>     3.0)
>     Target: x86_64-pc-linux-gnu
>     Thread model: posix
> 
>     Worked fine.
> 
>     --
>     ---------------------------------------------
>     Victor Julien
>     http://www.inliniac.net/
>     PGP: http://www.inliniac.net/victorjulien.asc
>     ---------------------------------------------
> 
>     _______________________________________________
>     Suricata IDS Devel mailing list:
>     oisf-devel at openinfosecfoundation.org
>     <mailto:oisf-devel at openinfosecfoundation.org>
>     Site: http://suricata-ids.org | Participate:
>     http://suricata-ids.org/participate/
>     List:
>     https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>     Redmine: https://redmine.openinfosecfoundation.org/
> 
> 


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list