libmpsse
libmpsse copied to clipboard
random parallel compilation failures (-j4)
The source fails to compile around 1 from 5 times with the following error:
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/work/libmpsse-f1a6744b220d4e7b2c8719e705f56d8c171a6a32/src ...
make -j4
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DLIBFTDI1=0 -c support.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DSWIGPYTHON -DLIBFTDI1=0 -c support.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DLIBFTDI1=0 -c mpsse.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -c fast.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DSWIGPYTHON -DLIBFTDI1=0 -c mpsse.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -shared -Wl,-soname,libmpsse.so mpsse.o fast.o support.o \
-o libmpsse.so -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
/usr/bin/swig -python mpsse.i
collect2: error: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: error in mpsse.o(.eh_frame); no .eh_frame_hdr table will be created.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: mpsse.o: invalid string offset 1701981696 >= 825 for section `.strtab'
Makefile:21: recipe for target 'mpsse' failed
make: *** [mpsse] Error 1
make: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -c -DLIBFTDI1=0 mpsse_wrap.c -I/usr/include/python2.7
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -shared mpsse_wrap.o mpsse.o support.o \
-o _pylibmpsse.so -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -I/usr/include/python2.7
* ERROR: dev-embedded/libmpsse-1.3_p20150711::pentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-embedded/libmpsse-1.3_p20150711::pentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-embedded/libmpsse-1.3_p20150711::pentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/temp/environment'.
* Working directory: '/var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/work/libmpsse-f1a6744b220d4e7b2c8719e705f56d8c171a6a32/src'
* S: '/var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/work/libmpsse-f1a6744b220d4e7b2c8719e705f56d8c171a6a32/src'
also, the following error:
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-embedded/libmpsse-1.3_p20150711/work/libmpsse-f1a6744b220d4e7b2c8719e705f56d8c171a6a32/src ...
make -j4
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DLIBFTDI1=0 -c support.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DSWIGPYTHON -DLIBFTDI1=0 -c support.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DSWIGPYTHON -DLIBFTDI1=0 -c mpsse.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -DLIBFTDI1=0 -c mpsse.c
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -c fast.c
/usr/bin/swig -python mpsse.i
x86_64-pc-linux-gnu-gcc -Wall -fPIC -fno-strict-aliasing -march=native -O2 -pipe -shared -Wl,-soname,libmpsse.so mpsse.o fast.o support.o \
-o libmpsse.so -lftdi -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
support.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:21: recipe for target 'mpsse' failed
make: *** [mpsse] Error 1
This patch is now part of the FreeBSD port of libmpsse.
Part of Pentoo since 19 of Feb as well https://github.com/pentoo/pentoo-overlay/commit/e6fcc3aa128cd623ea4a37a2fb7511cb96dc524b