Git Product home page Git Product logo

Comments (4)

ivmai avatar ivmai commented on July 17, 2024

Hi,
Could you prepare a patch for configure files?
Thanks
Regards,

Ivan

Friday, 09 May 2014, 14:49 +04:00 from marksolaris [email protected]:
The Makefile.in hardcodes the ASM_CPP_OPTIONS to 'extern -Wp,-P -x assembler-with-cpp'. These args don't work with the Sun Studio compiler.
/usr/local/bin/bash ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H   -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/usr/local/include  -I/usr/local/include -DSCM_API=extern -Wp,-P -x assembler-with-cpp -c src/sparc_mach_dep.S
libtool: compile:  cc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -I/usr/local/include -I/usr/local/include -DSCM_API=extern -Wp,-P -x assembler-with-cpp -c src/sparc_mach_dep.S  -KPIC -DPIC -o .libs/sparc_mach_dep.o
cc: Warning: illegal option -xassembler-with-cpp
I use this as a work-around when compiling to clear the variable:
perl -pe 's#ASM_CPP_OPTIONS =.*#ASM_CPP_OPTIONS =#' -i Makefile.in
I see you already fixed the src/sparc_mach_dep.lo problem :)

Reply to this email directly or  view it on GitHub .

from bdwgc.

marksolaris avatar marksolaris commented on July 17, 2024

Not the configure files, but the diff for the Makefile.in is:

diff -ru Makefile.in.orig Makefile.in
--- Makefile.in.orig    Mon May 12 10:36:19 2014
+++ Makefile.in Mon May 12 10:36:25 2014
@@ -1021,7 +1021,7 @@
 # Misc
 # ----
 AM_CXXFLAGS = @GC_CFLAGS@
-@COMPILER_XLC_FALSE@ASM_CPP_OPTIONS = -Wp,-P -x assembler-with-cpp
+@COMPILER_XLC_FALSE@ASM_CPP_OPTIONS =

 #all_objs = @addobjs@ $(libgc_la_OBJECTS)
 #$(all_objs) : include/private/gcconfig.h include/private/gc_priv.h \

from bdwgc.

ivmai avatar ivmai commented on July 17, 2024

Makefile.in is not in the repository. The correct solution could be: test whether -x assembler-with-cpp supported and define X_ASM_WITH_CPP_SUPPORTED am macro accordingly in configure, and test the macro in Makefile.am

from bdwgc.

ivmai avatar ivmai commented on July 17, 2024

Should be fixed by commits 86399b5 and 6253914. Please check it.

from bdwgc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.