Skip to content

Conversation

@egavrin
Copy link
Contributor

@egavrin egavrin commented Nov 23, 2015

Related issue: #333, #454

Works only with default libc:

$ make debug.linux -j TOOLCHAIN="./build/configs/toolchain_afl.cmake" USE_COMPILER_DEFAULT_LIBC=YES

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com

@egavrin egavrin added enhancement An improvement infrastructure Related to GH Actions or the tested targets labels Nov 23, 2015
@egavrin egavrin force-pushed the afl-fuzzer-dev branch 3 times, most recently from 8c77c07 to e1811a2 Compare November 23, 2015 12:10
@ruben-ayrapetyan
Copy link

Looks good to me

@egavrin
Copy link
Contributor Author

egavrin commented Nov 23, 2015

@galpeter could you please check this pr?

@galpeter
Copy link
Contributor

lgtm

@galpeter galpeter removed their assignment Nov 23, 2015
Related issue: #333, #454

Works only with default libc:
```
$ make debug.linux -j TOOLCHAIN="./build/configs/toolchain_afl.cmake" USE_COMPILER_DEFAULT_LIBC=YES
```

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
JerryScript-DCO-1.0-Signed-off-by: Evgeny Gavrin e.gavrin@samsung.com
@ruben-ayrapetyan ruben-ayrapetyan merged commit 17a5dd2 into master Nov 23, 2015
@ruben-ayrapetyan ruben-ayrapetyan deleted the afl-fuzzer-dev branch November 23, 2015 15:06
@hellok
Copy link

hellok commented Dec 6, 2015

what's default libc.i run with this error:
Error running link command: No such file or directory

@hellok
Copy link

hellok commented Dec 6, 2015

:~/jerryscript$ make debug.linux -j TOOLCHAIN="./build/configs/toolchain_linux_x86_64.cmake"
[ 33%] Built target debug.jerry-fdlibm.third_party.lib
[100%] Built target debug.jerry-core
Linking CXX executable debug.linux
/home/hellok/jerryscript/main-linux.cpp: In function ‘main’:
/home/hellok/jerryscript/main-linux.cpp:483:1: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.c:1550
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.9/README.Bugs for
lto-wrapper: /usr/bin/c++ returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [debug.linux] Error 1
make[2]: *** [CMakeFiles/debug.linux.dir/all] Error 2
make[1]: *** [CMakeFiles/debug.linux.dir/rule] Error 2
make: *** [debug.linux] Error 2

interesting

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

Labels

enhancement An improvement infrastructure Related to GH Actions or the tested targets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants