Open noahmehl opened 8 years ago
There was a similar issue about this awhile back that was subsequently fixed. I'm not sure why it's still happening, but then again I'm not a SmartOS user.
What are the versions of the compiler and binutils that you are using?
Using built-in specs. COLLECT_GCC=/opt/local/gcc49/bin/gcc COLLECT_LTO_WRAPPER=/opt/local/gcc49/libexec/gcc/x86_64-sun-solaris2.11/4.9.3/lto-wrapper Target: x86_64-sun-solaris2.11 Configured with: ../gcc-4.9.3/configure --enable-languages='c obj-c++ objc go fortran c++' --enable-shared --enable-long-long --with-local-prefix=/opt/local --enable-libssp --enable-threads=posix --with-boot-ldflags='-static-libstdc++ -static-libgcc -Wl,-R/opt/local/lib ' --disable-nls --with-gxx-include-dir=/opt/local/gcc49/include/c++/ --without-gnu-ld --with-ld=/usr/bin/ld --with-gnu-as --with-as=/opt/local/bin/gas --prefix=/opt/local/gcc49 --build=x86_64-sun-solaris2.11 --host=x86_64-sun-solaris2.11 --infodir=/opt/local/gcc49/info --mandir=/opt/local/gcc49/man Thread model: posix gcc version 4.9.3 (GCC)
GNU addr2line (GNU Binutils) 2.25.1
Ok I finally managed to get a SmartOS environment set up and was able to reproduce the issue. It looks like a bug in libmariadbclient. I have filed an issue upstream here.
@mscdex Thanks so much for doing all of that work! I look forward to the libmariadbclient issue getting resolved.
Thanks!!!
Hey! Looks like there's been no movement on the MariaDB side of things. Is there anything I can do to help this along? Thanks in advance!
I would say vote for it on their issue tracker and comment there to let them know it affects you.
I'm trying to install mariasql ^0.2.5 on SmartOS and I'm getting the following error:
../deps/libmariadbclient/mysys/my_context.c: In function 'my_context_init': ../deps/libmariadbclient/mysys/my_context.c:384:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast](%28 %28%28intptr%29c->stack_bot + stack_size%29 & ~%28intptr%290xf%29 - 16); ^ /var/tmp//ccnKaM0K.s: Assembler messages: /var/tmp//ccnKaM0K.s:34: Error: CFI instruction used without previous .cfi_startproc deps/libmariadbclient/mysys/mysys.target.mk:150: recipe for target 'Release/obj.target/mysys/deps/libmariadbclient/mysys/my_context.o' failed make: *\ [Release/obj.target/mysys/deps/libmariadbclient/mysys/my_context.o] Error 1 make: Leaving directory 'node_modules/mariasql/build'