|
From: Stephen S. <rad...@gm...> - 2013-11-26 09:28:41
|
On Mon, Nov 25, 2013 at 5:59 PM, Camille Troillard <ca...@os...> wrote: > > On 25 nov. 2013, at 17:43, Stephen Sinclair <rad...@gm...> wrote: > >> On Mon, Nov 25, 2013 at 4:59 PM, Simon Newton <li...@no...> wrote: >>> I'm seeing failures on 10.9 with both gcc and clang. I've attached the log file. >>> >>> I'll test on a Pi and x86 Debian machine soon and report back. >> >> Huh.. This, I've never seen before: >> >> passed test_varargs (a, "/lotsofformats", "fisbmhtdSccTFNI", >> 0.12345678f, 123, "123", btest, midi_data, 0x0123456789abcdefULL, tt, >> 0.9999, "sym", 'X', 'Y', LO_ARGS_ENliblo error: lo_send, >> lo_message_add, or lo_message_add_varargs called with mismatching >> types and data at >> testlo.c:1005, exiting. >> liblo error: lo_send or lo_message_add called with invalid symbol >> pointer for arg 9, probably arg mismatch >> at testlo.c:1005, exiting. >> >> >> Seems there's some problem occurring with the "sym" argument? i can't >> imagine why... >> What kind of machine are you running on? MacBook? x86-64? > > Steve, I tried with a 32bits build of liblo on OS X 10.9/Xcode 5 and got problems too. > > I compiled liblo with: CXXFLAGS="-m32" CFLAGS="-m32" LDFLAGS="-m32" ./configure > > Can it be a problem with LO_ARGS_END? > > Then, I compiled the usual way, producing 64bits executables, and noticed there was a false positive, or what I suspect to be a false positive. Please look for "liblo error: lo_send, lo_message_add” in liblo-0.28rc-test_x64.log. So, I don't seem to get this error on 10.8. On the other hand I do get a segfault in cpp_test when configured with, ./configure CXXFLAGS="-m32" CFLAGS="-m32" LDFLAGS="-m32" CC=clang CXX=clang++ (but not when compiled for 64-bit) However, when clang++ is not selected (and therefore cpp_test is not built), then "make test" is successful for me. I have XCode 5.0.2 installed. By the way, another way to compile for multiple architectures is the following, which also results in a successful "make test" for me on 10.8: ./configure CFLAGS='-arch i386 -arch x86_64' CXXFLAGS='-arch i386 -arch x86_64' CC=clang CXX=clang++ or, to use gcc: ./configure CFLAGS='-arch i386 -arch x86_64' CXXFLAGS='-arch i386 -arch x86_64' --disable-dependency-tracking Steve |