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

Assertion Error when line breaker '\' appear in makeout.txt #32

Open
zyh1121 opened this issue Jun 11, 2019 · 0 comments
Open

Assertion Error when line breaker '\' appear in makeout.txt #32

zyh1121 opened this issue Jun 11, 2019 · 0 comments

Comments

@zyh1121
Copy link

zyh1121 commented Jun 11, 2019

When the makeout.txt has line breakers such as

gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -L. -z defs -Wl,-znodelete -shared -Wl,-Bsymbolic   \
	-o test/p_test.so -Wl,--version-script=test/p_test.ld test/p_test-dso-p_test.o \
                 -ldl -pthread 

run_all.py will exit with assertion errors. It seems line breakers are not handled properly so that it cannot locate '-o'.

Traceback (most recent call last):
  File "run_all.py", line 167, in <module>
    main()
  File "run_all.py", line 115, in main
    ret_val = __run_component(curr_comp, component_times)
  File "run_all.py", line 140, in __run_component
    ret_val = component_obj.perform()
  File "/dr_checker/gitrepo/helper_scripts/runner_scripts/components/llvm_build.py", line 60, in perform
    self.arch_num, self.clang_bin, command_output_dir=self.separate_out)
  File "/dr_checker/gitrepo/helper_scripts/runner_scripts/components/llvm_build.py", line 225, in _generate_llvm_bitcode
    build_output_dir=command_output_dir)
  File "/dr_checker/gitrepo/helper_scripts/runner_scripts/components/llvm_build.py", line 202, in _get_llvm_build_str
    assert (output_file_idx != -1)
AssertionError
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