ruby-changes:53377
From: shyouhei <ko1@a...>
Date: Wed, 7 Nov 2018 14:26:14 +0900 (JST)
Subject: [ruby-changes:53377] shyouhei:r65593 (trunk): .travis.yml: UNALIGNED_WORD_ACCESS=0 for UBSAN
shyouhei 2018-11-07 14:26:11 +0900 (Wed, 07 Nov 2018) New Revision: 65593 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65593 Log: .travis.yml: UNALIGNED_WORD_ACCESS=0 for UBSAN Unaligned word access warnings generated by UBSAN are often treated well already, depending on this macro. Modified files: trunk/.travis.yml Index: .travis.yml =================================================================== --- .travis.yml (revision 65592) +++ .travis.yml (revision 65593) @@ -156,7 +156,7 @@ addons: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L156 <<: *make-test-only compiler: clang env: - - "CFLAGS='-ggdb3 -O1 -march=native -fsanitize=undefined,integer,nullability -fno-omit-frame-pointer'" + - "CFLAGS='-ggdb3 -O1 -march=native -fsanitize=undefined,integer,nullability -fno-omit-frame-pointer -DUNALIGNED_WORD_ACCESS=0'" - "LD=clang" - "LDFLAGS=-fsanitize=undefined,integer,nullability" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/