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

Problem with building with glibc-devel-32bit installed #6

Open
rominf opened this issue Oct 30, 2014 · 0 comments
Open

Problem with building with glibc-devel-32bit installed #6

rominf opened this issue Oct 30, 2014 · 0 comments

Comments

@rominf
Copy link

rominf commented Oct 30, 2014

I'm using openSUSE 13.1 x86_64. I've tried to build tomita, but it fails to build. The problem it that it tries to link against /usr/lib/crt1.o and other libs like that. Those libraries are the part of glibc-devel-32bit package. I've removed it (I needed it to build some legacy program) and it builds fine.

I'm not sure is this a tomita-parser bug or cmake bug.

Here is build output:

/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crt1.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crti.o' is incompatible with i386:x86-64 output
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: i386 architecture of input file `/usr/lib/crtn.o' is incompatible with i386:x86-64 output
collect2: error: ld returned 1 exit status
make[2]: *** [contrib/tools/yasm/yasm] Error 1
make[1]: *** [contrib/tools/yasm/CMakeFiles/yasm.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
the31k added a commit that referenced this issue Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant