On 2/20/19 12:24 AM, Bruce Dubbs via blfs-dev wrote:
On 2/19/19 10:40 PM, Douglas R. Reno via blfs-dev wrote:

On 2/19/19 10:12 PM, Bruce Dubbs via blfs-dev wrote:
I've run into a problem trying to validate SM and FF for 8.4,  First SM.

It appears that SM prefers clang over gcc.  The build fails early because it uses clang by default and the sanity check fails because the CFLAGS we pass are incompatible with clang.

I added CC=gcc CXX=g++ and SM built.  It seems to run OK, so I've added those variables to the book with a note that says if you want to use clang, don't set the flags.

The problem with FF is more serious.  At the 29 minute point I get:

27:48.76    Compiling gkrust v0.1.0 (/tmp/firefox/firefox-65.0/toolkit/library/rust)
29:17.59 error: Could not compile `gkrust`.
29:17.60 Caused by:
... (long command line here)
(signal: 11, SIGSEGV: invalid memory reference)

We use clang for FF so I tried gcc and got the same error.

The funny thing is that I built FF a week ago with exactly the same instructions (the same script) on my Skylake workstation (basically a less complete 8.4 system) and it is fine.  My development system is a Haswell.  Both are running rustc 1.32.0.

The only thing I could find on google is

https://aur.archlinux.org/packages/icecat/?comments=all

but it doesn't seem to have a solution.

Any ideas?

I'm going to have to build Firefox so that I can configure CUPS probably tonight or tomorrow. I'll get back to you with the results off that, especially if we have the same problem.

I'm beginning to think it might be a CPU HW issue, but it's mostly speculation.  Can you check it out on your Haswell?

  -- Bruce

Yes I can. It's going to take a bit though, I need to decide on either updating it's packages to 8.4 or running a jhalfs build at -j12 and building it out that way. I think running similar software would be important for this test.

If you'd prefer, I can run LFS in a VMWare Workstation VM on it's Windows side. It'll pass through all CPU calls to the Haswell CPU instead of running it through hypervisor emulation with the way I have it setup (copying lscpu  and lspci output over SSH):

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:  1
Socket(s):           2
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               63
Model name:          Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
Stepping:            2
CPU MHz:             3298.088
BogoMIPS:            6596.17
Hypervisor vendor:   VMware
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            15360K
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 mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 invpcid xsaveopt arat

00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:07.7 System peripheral: VMware Virtual Machine Communication Interface (rev 10)
00:0f.0 VGA compatible controller: VMware SVGA II Adapter
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01)
00:11.0 PCI bridge: VMware PCI bridge (rev 02)
00:15.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:15.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:16.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:17.7 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.0 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.1 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.2 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.3 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.4 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.5 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.6 PCI bridge: VMware PCI Express Root Port (rev 01)
00:18.7 PCI bridge: VMware PCI Express Root Port (rev 01)
02:00.0 USB controller: VMware USB1.1 UHCI Controller
02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01) 02:02.0 Multimedia audio controller: Ensoniq ES1371/ES1373 / Creative Labs CT2518 (rev 02)
02:03.0 USB controller: VMware USB2 EHCI Controller

So while allowing me to test the VMWare X drivers, it'd also allow me to test out your firefox problem. This does however mean that it's going to take a couple days. For this test, I'd bump up the virtual CPUs to 12 cores and toss it 16GB of RAM so I could run -j12 on it, but factoring in dependencies, it's likely to take longer.

Which would you prefer? Xorg VMware drivers, or updating my LFS install and testing it?

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to