[LITMUS^RT] New release: LITMUS^RT 2014.1

Hiroyuki Chishiro chishiro at ny.ics.keio.ac.jp
Wed Apr 16 08:49:32 CEST 2014


Hi Bjoern,

My configuration option of gcc in Linux Mint 16 Petra is as follows.

--
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.8.1-10ubuntu9'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
--enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64
--with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) 
--

This is the default configuration of gcc in my Linux Mint 16.
I think that the version of gcc is different.

Just in case, I put the compile information as follows.

--
gcc -O2 -Wall -Werror -g -Wdeclaration-after-statement
-D_XOPEN_SOURCE=600 -D_GNU_SOURCE -m64 -DARCH=x86_64
-I/home/chishiro/liblitmus/include
-I/home/chishiro/liblitmus/arch/x86/include
-I/home/chishiro/liblitmus/arch/x86/include/uapi
-I/home/chishiro/liblitmus/arch/x86/include/generated/uapi  -c -o
locks.o tests/locks.c
In file included from /usr/include/fcntl.h:279:0,
                 from tests/locks.c:1:
In function 'open',
    inlined from 'test_lock_dflp' at tests/locks.c:118:2:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to
'__open_missing_mode' declared with attribute error: open with O_CREAT
in second argument needs 3 arguments
    __open_missing_mode ();
                        ^
--


Sincerely,
Hiroyuki Chishiro
 
  Björn Brandenburg <bbb at mpi-sws.org> wrote:
/ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
> 
>> On 15.04.2014, at 13:20, Hiroyuki Chishiro <chishiro at ny.ics.keio.ac.jp> wrote:
>> 
>> I've hit a compile error in "liblitmus/tests/lock.c" for LITMUS^RT 2014.1.
>> The compile error is as follows.
>> 
>> --
>> In file included from /usr/include/fcntl.h:279:0,
>>                 from tests/locks.c:1:
>> In function 'open',
>>    inlined from 'test_lock_dflp' at tests/locks.c:118:2:
>> /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:24: error: call to
>>                 '__open_missing_mode' declared with attribute error:
>>                 open with O_CREAT in second argument needs 3
>>                 arguments
>>    __open_missing_mode ();
>>                        ^
>> --
>> 
>> To fix this compile error, set the third argument to S_IRUSR.
> 
> Thanks for reporting the issue. I'm surprised I didn't see it myself; I thought I had all debugging options enabled. Which configuration option turns on the bug detector? 
> 
> Thanks,
> Björn

--
Hiroyuki Chishiro <chishiro at ny.ics.keio.ac.jp>
Department of Information and Computer Science
Keio University


More information about the litmus-dev mailing list