Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBuild issue, FFI & CTYPES, musl libc, FDE_ENCODE() #215
Comments
|
Oh, I guess this is the problem.
I need to get |
|
Thanks for the report.
In fact, these are pre-processor macros
To setup continuous integration using that system, it may be sensible to add a dockbuild image to https://github.com/dockbuild/dockbuild#readme similarly to what is being done for ubuntu dockbuild/dockbuild#17 |
|
It sounds like I need to recreate the issue inside a Docker "VM"? But even after looking at the links I don't know where to begin. But that might have to wait. As a temporary work around I edited the sysv.S file, removed the I started over and used -DENABLE_CTYPES:BOOL=0 as a work around and still get error when try to run the single python file on other machines. This is strange because this much worked before. |
Got the following trying to build 2.7.14 on Linux Mint 18 using musl libc.
[ 91%] Building ASM object CMakeBuild/libpython/CMakeFiles/libpython-static.dir/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S.o
/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S: Assembler messages:
/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S:403: Error: junk at end of line, first unrecognized character is
@' /home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S:424: Error: junk at end of line, first unrecognized character is@'/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S:454: Error: junk at end of line, first unrecognized character is `@'
CMakeBuild/libpython/CMakeFiles/libpython-static.dir/build.make:4190: recipe for target 'CMakeBuild/libpython/CMakeFiles/libpython-static.dir/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S.o' failed
make[2]: *** [CMakeBuild/libpython/CMakeFiles/libpython-static.dir/home/mudd/musl-static/Python-2.7.14/Modules/_ctypes/libffi/src/x86/sysv.S.o] Error 1
CMakeFiles/Makefile2:1311: recipe for target 'CMakeBuild/libpython/CMakeFiles/libpython-static.dir/all' failed
make[1]: *** [CMakeBuild/libpython/CMakeFiles/libpython-static.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Here are the lines that have issues.
403: .long FDE_ENCODE(.LFB1) /* FDE initial location /
424: .long FDE_ENCODE(.LFB2) / FDE initial location /
454: .long FDE_ENCODE(.LFB3) / FDE initial location */
Here are all the lines with FDE_ENCODE(). It look like all are commented out?