Comments (3)
oops, thanks for the heads up, but it looks strange. _FORTIFY_SOURCE is only used when DEBUG is not set, so CFLAGS has -O3. Can you check your config.inc for DEBUGFLAGS including -O3?
from potion.
Yup, my config.inc
does contain -O3
in DEBUGFLAGS
. Any ideas on why this might be?
# -*- makefile -*-
# created by make -f config.mak
PREFIX = /usr/local
ECHO = /bin/echo
EXE =
DLL = .so
LOADEXT = .so
CC = clang
DEFINES = -DHAVE_LIBUV -DCGOTO
DEBUGFLAGS = -O3 -finline -fno-stack-protector
WARNINGS = -Wall -Werror -Wno-variadic-macros -Wno-pointer-arith -Wno-return-type -Wno-unused-value -Wno-switch -Wno-unused-label -Wno-zero-length-array -Wno-gnu
CFLAGS = -D_GNU_SOURCE -fno-strict-aliasing -D_FORTIFY_SOURCE=2 ${DEFINES} ${DEBUGFLAGS} ${WARNINGS}
INCS = -I/home/karol/Code/potion/core -I/usr/local/include
LIBPTH = -L/home/karol/Code/potion/lib
RPATH = -Wl,-rpath=/home/karol/Code/potion/lib
RPATH_INSTALL = -Wl,-rpath=${PREFIX}/lib
LIBS = -lm -L/usr/local/lib -ldl
LDFLAGS = -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
LDDLLFLAGS = -shared -fpic -Wl,--as-needed -Wl,-z,relro -Wl,-z,now
STRIP = strip -x
AR = ar
RANLIB = ranlib
CROSS = 0
APPLE = 0
WIN32 = 0
CYGWIN = 0
CLANG = 1
ICC = 0
GCC = 0
SANDBOX = 0
JIT = 1
JIT_X86 = 1
DEBUG = 0
REVISION = 1136
from potion.
All looks good. I have no idea why it fails for you (selinux?) but for now just remove the
-D_FORTIFY_SOURCE=2
part from your config.inc
googling brought up nothing.
maybe you have an env var DEBUGFLAGS set?
try unset DEBUGFLAGS
then
from potion.
Related Issues (20)
- Problem with potion installation HOT 2
- Make fails HOT 4
- Migrate LGTM.com installation from OAuth to GitHub App
- Make fails HOT 1
- 1 out of 282 tests failed HOT 3
- When building under vagrant/precise32, build succeeds but some tests, examples fail HOT 3
- test/tutorial/07_subclass.pn is failing on master HOT 4
- wrong x-1 parsing precedence, whitespace
- numeric compare in wrong integer context HOT 2
- change numcmp for eq and neq
- call on nil segfaults HOT 7
- call on nil methods silently fail HOT 3
- Installation issue HOT 4
- callset on nil segfaults HOT 2
- fatal: Not a git repository (or any of the parent directories): .git HOT 1
- compile: unknown builtin '__builtin_saddl_overflow' HOT 4
- More segmentation faults HOT 7
- Comparison between String and number does not work as expected HOT 1
- replace mersenne twister by pcg
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 potion.