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

seeing gcc: error: unrecognized argument in option ‘-malign-double’ error while compiling fwq on ppc64le #1

Open
vpuliyal opened this issue Apr 6, 2023 · 1 comment

Comments

@vpuliyal
Copy link

vpuliyal commented Apr 6, 2023

I followed below steps to compile fwq.

  1. git clone https://github.com/hying-caritas/fwq.git

  2. cd fwq
  3. make

make

gcc -DASMx8664 -O1 -fexpensive-optimizations -m64 -malign-double -static fwq.c -D_WITH_PTHREADS_ -o t_fwq -lpthread
gcc: error: unrecognized argument in option ‘-malign-double’
gcc: note: valid arguments to ‘-malign-’ are: natural power
make: *** [Makefile:58: t_fwq] Error 1

Do I need to install any package on target lpar?

will fwq work on ppc64le ?

@vpuliyal
Copy link
Author

vpuliyal commented Apr 6, 2023

I replace -malign-double with -malign- in Makefile and compile it.
I'm seeing new error saying missing argument.

make

gcc -DASMx8664 -O1 -fexpensive-optimizations -m64 -malign- -static fwq.c -D_WITH_PTHREADS_ -o t_fwq -lpthread
gcc: error: missing argument to ‘-malign-’
make: *** [Makefile:58: t_fwq] Error 1

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