Re: [Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-27 Thread NicoBats
Le 27/04/13 11:32, Ludovic Rousseau a écrit : > 2013/4/27 NicoBats : >> so the results of a week of investigation are: >> libusb-1.0.15 compiled with clang on MacOS 10.8 lead to a segmentation fault >> on MacOS 10.6 >> libusb-1.0.15 compiled with gcc4.2 on MacOS 10.6 works as expected on MacOS >> 1

Re: [Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-27 Thread Ludovic Rousseau
2013/4/27 NicoBats : > so the results of a week of investigation are: > libusb-1.0.15 compiled with clang on MacOS 10.8 lead to a segmentation fault > on MacOS 10.6 > libusb-1.0.15 compiled with gcc4.2 on MacOS 10.6 works as expected on MacOS > 10.6 && MacOS 10.8 I guess it is libusbx and not libu

Re: [Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-26 Thread NicoBats
so the results of a week of investigation are: libusb-1.0.15 compiled with clang on MacOS 10.8 lead to a segmentation fault on MacOS 10.6 libusb-1.0.15 compiled with gcc4.2 on MacOS 10.6 works as expected on MacOS 10.6 && MacOS 10.8 the user have installed XCode 3.something (the last available f

Re: [Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-25 Thread NicoBats
following the idea of Ludovic, libusbx compiled with -g: [timestamp] [threadID] facility level [function call] [ 0.13] [0903] libusbx: debug [libusb_init] created default context [ 0.73] [0903] libusb

Re: [Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-25 Thread Ludovic Rousseau
2013/4/24 NicoBats : > Hi, Hello, > today a user report a segmentation fault on MacOS 10.6. > I'm compiling libusbx on MacOS 10.8 like that > export CXX=/usr/bin/clang++ > export CC=/usr/bin/clang > export > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/X11/include:/sw/bin:/sw/sbin:/opt/lo

[Libusbx-devel] segmentation fault with libusbx-1.0.15 on MacOSX

2013-04-24 Thread NicoBats
Hi, today a user report a segmentation fault on MacOS 10.6. I'm compiling libusbx on MacOS 10.8 like that export CXX=/usr/bin/clang++ export CC=/usr/bin/clang export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/X11/include:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin export PKG_CONFIG