Comments (4)
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.
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.
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.
Should be fixed by commits 86399b5 and 6253914. Please check it.
from bdwgc.
Related Issues (20)
- Remove dependency on CoreFoundation or make it optional HOT 4
- Unexpected heap growth in gctest on Linux with malloc redirection HOT 2
- Regression: support of macOS before 10.7 HOT 8
- Soft-dirty bit is not supported by kernel on Ubuntu 22.04/x86_64 HOT 4
- Test crash on Windows if GWW mode and checksums
- gctest fails if shared build by Zig HOT 5
- Zig support improvement HOT 11
- Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS HOT 5
- compile fail on Win10/MSVC HOT 2
- Bad maximum heap size on large initial heap HOT 4
- Zig warning of "large atomic operation may incur significant performance penalty" on 32-bit arm HOT 7
- Assertion violation of GC_stop_count&THREAD_RESTARTED in GC_restart_all running disclaimtest
- Illegal instruction in GC_clear_stack in tests built by Zig on Linux HOT 7
- disclaimtest, weakmaptest or middletest fail in zig build on Linux if enable_gc_debug and enable_redirect_malloc HOT 5
- Unexpected bus error on Linux/powerpc (32-bit) HOT 9
- weakmap test fail on Ubuntu/x64 (zig build) if malloc redirection and gc-debug enabled HOT 1
- autogen.sh is incomplete HOT 16
- Downstream libgc releases (Feb 2024) HOT 21
- GC hangs with "parallel mark" if using `GC_allow_register_threads()` HOT 11
- Debugging an issue with GC seemingly not happening on Emscripten/WebAssembly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdwgc.