Re: [lfs-support] libffi problems
> There is a complication here in that you are building a LFS system > which does not include gdb as that is a BLFS utility: I've been building LFS since 2004, LFS-4.1 that time, and I still don't build gdb--building 8.1 now and got 84 errors from rustc because of it. In my case, it's an "old dog, new tricks" problem. I didn't used to understand that, do now! ... snip ... > > I had the same issue. Look here: > http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/051993.html Thanks for that. Interesting reading. I build (B)LFS with the intent of being able to install it on any "compatible" system, so I've generally been cross-compiling all my builds on my Bloomfield i7-940 with CFLAGS="-march=x86-64 -mtune=generic", with a few exceptions: gmp, etc., so I can put them on, say, a Conroe Core-2 Duo. > > List, I didn't realise that the same problem was already discussed on > this mailing list. Yes, thing can get rather "buried". The book/site doesn't seem to use the errata much. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] libffi problems
On Sat, 26 May 2018 19:29:57 +0200 René Nyffenegger wrote: > This escaped my notice when I first made libffi. Unfortunately, I have > no idea why the tests fail. Yep, as Filip mentioned, we've seen this problem recently. I've filed a bug report with the libffi developers and will let the LFS list know what they say. Cheers, Mike -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] libffi problems
I had the same issue. Look here: http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/051993.html Filip Thank you so much for the link. It seems that I've now managed to compile libffs and python3. List, I didn't realise that the same problem was already discussed on this mailing list. Rene -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] libffi problems
I had the same issue. Look here: http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/051993.html Dňa 26. 5. 2018 7:33 PM používateľ "René Nyffenegger" < m...@renenyffenegger.ch> napísal: After discovering that I couldn't make python ( http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/052029.html), I tried to remake libffi. Executing make check results in .. .. FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O3 execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -Os execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O2 -fomit-frame- pointer execution test === libffi Summary === # of expected passes965 # of unexpected failures455 make[3]: *** [Makefile:397: check-DEJAGNU] Error 1 This escaped my notice when I first made libffi. Unfortunately, I have no idea why the tests fail. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] René I had the same issue
Look here: http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/051993.html -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] libffi problems
After discovering that I couldn't make python (http://lists.linuxfromscratch.org/pipermail/lfs-support/2018-May/052029.html), I tried to remake libffi. Executing make check results in .. .. FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O3 execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -Os execution test FAIL: libffi.call/unwindtest.cc -W -Wall -Wno-psabi -O2 -fomit-frame- pointer execution test === libffi Summary === # of expected passes965 # of unexpected failures455 make[3]: *** [Makefile:397: check-DEJAGNU] Error 1 This escaped my notice when I first made libffi. Unfortunately, I have no idea why the tests fail. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] make install of Python 3 causes: 3273 Illegal instruction
> On Sat, 26 May 2018 10:14:09 +0200 > René Nyffenegger wrote: > >> Architecture:x86_64 >> . >> . >> target='x86_64-pc-linux-gnu' >> target_alias='' >> target_cpu='x86_64' >> target_os='linux-gnu' >> target_vendor='pc' > > >René, > > That all looks OK to me. Can you trigger the illegal instruction > error manually at the command prompt via: > >> What's causing the problem seems to be the ensurepip module: >> ./python -E -m ensurepip > > If so, then run it through the debugger gdb and try to find out > the specific offending instruction: > > gdb ./python > run -E -m ensurepip > display/i $pc > > > There is a complication here in that you are building a LFS system > which does not include gdb as that is a BLFS utility: > > http://www.linuxfromscratch.org/blfs/view/svn/general/gdb.html > > So, you will either have to rely in the host gdb, or also install gdb > in your LFS system. > > Have you altered your optimization cflags e.g., -O3 ? Mike I didn't alter any optimization flags during the compilation process. With your suggestion for gdb, I get the following result: (gdb) run -E -m ensurepip Starting program: /usr/lfs/sources/untarred/Python-3.6.4/python -E -m ensurepip [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Program received signal SIGILL, Illegal instruction. 0x73033ce4 in ffi_closure_alloc () from /usr/lib/libffi.so.6 (gdb) display/i $pc 1: x/i $pc => 0x73033ce4 : vmovq %r13,%xmm3 (gdb) Apparently, the problem lies with ffi. I will try to recompile that. Rene -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] make install of Python 3 causes: 3273 Illegal instruction
On Sat, 26 May 2018 10:14:09 +0200 René Nyffenegger wrote: >Architecture:x86_64 > . > . >target='x86_64-pc-linux-gnu' >target_alias='' >target_cpu='x86_64' >target_os='linux-gnu' >target_vendor='pc' René, That all looks OK to me. Can you trigger the illegal instruction error manually at the command prompt via: > What's causing the problem seems to be the ensurepip module: > ./python -E -m ensurepip If so, then run it through the debugger gdb and try to find out the specific offending instruction: gdb ./python run -E -m ensurepip display/i $pc There is a complication here in that you are building a LFS system which does not include gdb as that is a BLFS utility: http://www.linuxfromscratch.org/blfs/view/svn/general/gdb.html So, you will either have to rely in the host gdb, or also install gdb in your LFS system. Have you altered your optimization cflags e.g., -O3 ? Cheers, Mike -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] make install of Python 3 causes: 3273 Illegal instruction
On Sat, 26 May 2018 09:29:40 +0200 René Nyffenegger wrote: /bin/sh: line 7: 3273 Illegal instruction (core dumped) LD_LIBRARY_PATH=/usr/lfs/sources/untarred/Python-3.6.4 ./python -E -m ensurepip $ensurepip --root=/ Randy, What CPU does your system have? Also, in your python source directory, in the file config.log, what does the line with the target_cpu= (around line 20048) have as a value? lscpu prints: Architecture:x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s):1 Vendor ID: GenuineIntel CPU family: 6 Model: 42 Model name: Intel(R) Pentium(R) CPU G640T @ 2.40GHz Stepping:7 CPU MHz: 1596.464 CPU max MHz: 2400. CPU min MHz: 1600. BogoMIPS:4791.95 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache:256K L3 cache:3072K NUMA node0 CPU(s): 0,1 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer xsave lahf_lm epb pti tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm arat pln pts The target_* lines in the config.log read target='x86_64-pc-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='pc' Rene -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] make install of Python 3 causes: 3273 Illegal instruction
On Sat, 26 May 2018 09:29:40 +0200 René Nyffenegger wrote: > /bin/sh: line 7: 3273 Illegal instruction (core dumped) > LD_LIBRARY_PATH=/usr/lfs/sources/untarred/Python-3.6.4 ./python -E -m > ensurepip $ensurepip --root=/ Randy, What CPU does your system have? Also, in your python source directory, in the file config.log, what does the line with the target_cpu= (around line 20048) have as a value? Cheers, Mike Shell -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] make install of Python 3 causes: 3273 Illegal instruction
I am trying to make Python 3.64 in the course of creating LFS 8.2 (http://www.linuxfromscratch.org/lfs/view/stable/chapter06/Python.html) Both the ./configure and make step seem to run OK. However, executing "make install" causes: /bin/sh: line 7: 3273 Illegal instruction (core dumped) LD_LIBRARY_PATH=/usr/lfs/sources/untarred/Python-3.6.4 ./python -E -m ensurepip $ensurepip --root=/ make: *** [Makefile:1099: install] Error 132 Within the chroot environment and the build directory, I can execute the freshly built python ok: ./python ./python -V What's causing the problem seems to be the ensurepip module: ./python -E -m ensurepip I am unable to even think of a cause of this behaviour and any help on that is appreciated. Rene -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style