root@lm6100:/tmp/test# gcc -O0 xx.c;./a.out
7fbfffff 7ff7ffffffffffff 7ff7ffffe0000000
root@lm6100:/tmp/test# gcc -O1 xx.c;./a.out
7fbfffff 7ff7ffffffffffff 7ff7ffffffffffff
root@lm6100:/tmp/test# gcc -O2 xx.c;./a.out
7fbfffff 7ff7ffffffffffff 7ff7ffffffffffff
root@lm6100:/tmp/test# gcc -O3 xx.c;./a.out
7fbfffff 7ff7ffffffffffff 7ff7ffffffffffff


On Thu, Apr 17, 2014 at 1:08 PM, Tom Lee <deb...@tomlee.co> wrote:
> Hey Yunqiang,
>
> I spoke to the upstream maintainer. He's asked if you can compile & run this
> small C program (with and without optimizations) and to send the output from
> both:
>
> // begin
>
> #include <stdio.h>
> #include <inttypes.h>
> #include <string.h>
>
> int main() {
>   float nanf = __builtin_nanf("");
>   double nand = __builtin_nan("");
>   double nancast = nanf;
>
>   uint32_t nanfi;
>   uint64_t nandi;
>   uint64_t nancasti;
>
>   memcpy(&nanfi, &nanf, 4);
>   memcpy(&nandi, &nand, 8);
>   memcpy(&nancasti, &nancast, 8);
>
>   printf("%x %llx %llx\n", nanfi, nandi, nancasti);
>   return 0;
> }
>
> // end
>
> Thanks!
> Tom
>
>
>
> On Sun, Apr 13, 2014 at 8:57 AM, Yunqiang Su <wzss...@gmail.com> wrote:
>>
>> make  check-TESTS
>> make[4]: Entering directory `/tmp/capnproto/capnproto-debian'
>> make[5]: Entering directory `/tmp/capnproto/capnproto-debian'
>> PASS: capnp-test
>> PASS: capnp-evolution-test
>> FAIL: src/capnp/compiler/capnp-test.sh
>> make[6]: Entering directory `/tmp/capnproto/capnproto-debian'
>> make  all-recursive
>> make[7]: Entering directory `/tmp/capnproto/capnproto-debian'
>> make[8]: Entering directory `/tmp/capnproto/capnproto-debian'
>> make[8]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[7]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[6]: Leaving directory `/tmp/capnproto/capnproto-debian'
>>
>> ============================================================================
>> Testsuite summary for Capn Proto 0.4.1
>>
>> ============================================================================
>> # TOTAL: 3
>> # PASS:  2
>> # SKIP:  0
>> # XFAIL: 0
>> # FAIL:  1
>> # XPASS: 0
>> # ERROR: 0
>>
>> ============================================================================
>> See ./test-suite.log
>> Please report to capnpr...@googlegroups.com
>>
>> ============================================================================
>> make[5]: *** [test-suite.log] Error 1
>> make[5]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[4]: *** [check-TESTS] Error 2
>> make[4]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[3]: *** [check-am] Error 2
>> make[3]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[2]: *** [check-recursive] Error 1
>> make[2]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> make[1]: *** [check] Error 2
>> make[1]: Leaving directory `/tmp/capnproto/capnproto-debian'
>> dh_auto_test: make -j1 check returned exit code 2
>> make: *** [build-arch] Error 2
>>
>>
>> On Sun, Apr 13, 2014 at 11:02 AM, Tom Lee <deb...@tomlee.co> wrote:
>> > Thanks for the report -- I believe a downstream patch from the Ubuntu
>> > folks
>> > may fix this in the upcoming 0.4.1-1 release. Can you try the
>> > debian/0.4.1-1
>> > tag from git://github.com/thomaslee/capnproto-debian & let me know if it
>> > works any better?
>> >
>> >
>> > On Wed, Apr 2, 2014 at 4:54 AM, Yunqiang Su <wzss...@gmail.com> wrote:
>> >>
>> >> Package: capnproto
>> >> Version: 0.4.0-1
>> >>
>> >> I try to build capnproto on mips64el while it failed due to failure on
>> >> test.
>> >>
>> >> ./src/capnp/compiler/../testdata/binary - differ: byte 1989, line 4
>> >> FAIL: src/capnp/compiler/capnp-test.sh
>> >> ===========================================
>> >> 1 of 3 tests failed
>> >> Please report to capnpr...@googlegroups.com
>> >>
>> >>
>> >> --
>> >> Yunqiang Su
>> >
>> >
>> >
>> >
>> > --
>> > Tom Lee / http://tomlee.co / @tglee
>> >
>>
>>
>>
>> --
>> Yunqiang Su
>
>
>
>
> --
> Tom Lee / http://tomlee.co / @tglee
>



-- 
Yunqiang Su


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to