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

Fails to build on ARM #25

Closed
GoogleCodeExporter opened this issue May 14, 2015 · 2 comments
Closed

Fails to build on ARM #25

GoogleCodeExporter opened this issue May 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

When build 0.7.2 (and all releases going back to at least 0.5.x) on Fedora 19 
(and earlier) I get the following error when building:

gcc -DHAVE_CONFIG_H -I.    -Wall -pedantic -Wno-overlength-strings   -pthread 
-I/usr/include/PCSC   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 
-I/usr/include/libdrm -I/usr/include/harfbuzz   -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -c 
./script.S -o dot_cardpeek.o
./script.S: Assembler messages:
./script.S:27: Error: junk at end of line, first unrecognized character is `,'
make[1]: *** [dot_cardpeek.o] Error 1

A full build log can be found here (choose the latest build as logs are only 
kept a week):
http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=869

Not sure why it needs specific assembler and can't just let the compiler 
optimise.

Original issue reported on code.google.com by pbrobin...@gmail.com on 2 Apr 2013 at 12:47

@GoogleCodeExporter
Copy link
Author

Perhaps script.S targets something that is specific to x86/AMD64, which would 
fail on ARM.

script.S is used to embed a binary within cardpeek. I will try to remove the 
use of "script.S" in the next release of cardpeek (0.8) and move to a more 
portable approach using glib-compile-resources presumably.

Original comment by L...@gmx.com on 2 Apr 2013 at 2:34

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

I have replaced script.S with a more portable approach (available in the SVN 
repository). This change will appear in the next version of card peek (0.8). I 
didn't have the opportunity to test it on ARM yet, but it should work hopefully.

Original comment by L...@gmx.com on 15 May 2013 at 10:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant