Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building on 32-bit on Archlinux32 fails #3029

Open
andreasbaumann opened this issue Dec 30, 2017 · 3 comments
Open

building on 32-bit on Archlinux32 fails #3029

andreasbaumann opened this issue Dec 30, 2017 · 3 comments
Milestone

Comments

@andreasbaumann
Copy link

@andreasbaumann andreasbaumann commented Dec 30, 2017

In src/backtrace.cc:

cd /root/INSTALL/tarantool/src/tarantool/src && /usr/bin/c++  -DCORO_ASM -DLUAJIT_SMART_STRINGS=1 -DNDEBUG -DNVALGRIND -DNVALGRIND=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/root/INSTALL/tarantool/src/tarantool/src -I/root/INSTALL/tarantool/src/tarantool/src/lib -I/root/INSTALL/tarantool/src/tarantool/src/lib/small -I/root/INSTALL/tarantool/src/tarantool/src/lib/small/third_party -I/root/INSTALL/tarantool/src/tarantool -I/root/INSTALL/tarantool/src/tarantool/third_party/zstd/lib -I/root/INSTALL/tarantool/src/tarantool/third_party/zstd/lib/common -I/root/INSTALL/tarantool/src/tarantool/third_party -I/root/INSTALL/tarantool/src/tarantool/third_party/coro -I/root/INSTALL/tarantool/src/tarantool/third_party/luajit/src -I/root/INSTALL/tarantool/src/tarantool/src/lib/msgpuck -I/root/INSTALL/tarantool/src/tarantool/third_party/libutil_freebsd  -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -std=c++11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -Wno-invalid-offsetof -O3 -DNDEBUG   -o CMakeFiles/core.dir/backtrace.cc.o -c /root/INSTALL/tarantool/src/tarantool/src/backtrace.cc
/root/INSTALL/tarantool/src/tarantool/src/backtrace.cc: In function ‘void coro_unwcontext(unw_context_t*, coro_context*)’:
/root/INSTALL/tarantool/src/tarantool/src/backtrace.cc:204:3: warning: asm operand 2 probably doesn’t match constraints
  );
   ^
/root/INSTALL/tarantool/src/tarantool/src/backtrace.cc:204:3: error: impossible constraint in ‘asm’
/root/INSTALL/tarantool/src/tarantool/src/backtrace.cc: In function ‘void backtrace_foreach(int (*)(int, void*, const char*, size_t, void*), coro_context*, void*)’:
/root/INSTALL/tarantool/src/tarantool/src/backtrace.cc:204:3: warning: asm operand 2 probably doesn’t match constraints
  );
   ^
@kostja

This comment has been minimized.

Copy link
Contributor

@kostja kostja commented Jan 9, 2018

Do you care to submit us a patch?

@andreasbaumann

This comment has been minimized.

Copy link
Author

@andreasbaumann andreasbaumann commented Jan 9, 2018

As I can see it's the 'i' modifier for the function pointer which causes the problem.
But I don't know enough inline assembly to fix it right away..

@kostja kostja added this to the 1.8.7 milestone Feb 7, 2018
@kostja kostja modified the milestones: 2.1.1, 2.2.0 Nov 19, 2018
@kyukhin kyukhin modified the milestones: 2.2.0, 2.3.0 Apr 1, 2019
@kostja

This comment has been minimized.

Copy link
Contributor

@kostja kostja commented Aug 6, 2019

I'm not sure anyone still cares about 32-bit. Moving to wishlist.

@kostja kostja modified the milestones: 2.3.1, wishlist Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.