Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-09 Thread Gleydson Soares
On Sun, Apr 08, 2018 at 07:26:50PM -0400, Patrick Marchand wrote:
> On 04/08, Gleydson Soares wrote:
> > Hi Patrick,
> > could you please test this diff?
> > https://marc.info/?l=openbsd-ports=152160090624047=2
> 
> The diff worked, I was able to run plumber, factotum and acme without
> any aborts. 
> 
> Thanks!

i've committed it.
thanks for testing,



Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Gleydson Soares wrote:
> Hi Patrick,
> could you please test this diff?
> https://marc.info/?l=openbsd-ports=152160090624047=2

The diff worked, I was able to run plumber, factotum and acme without
any aborts. 

Thanks!



Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Gleydson Soares
Hi Patrick,
could you please test this diff?
https://marc.info/?l=openbsd-ports=152160090624047=2



Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Theo de Raadt wrote:
> At the moment snapshots contain the MAP_STACK diff.  Your program is
> setting up threads incorrectly (it has it's own thread library?),
> resulting in stacks not being mapped with MAP_STACK.  Stacks must be
> carefully setup now.  ktrace -di may expose the memory allocation which
> setup an address corresponding to a crash, basically a mmap with MAP_STACK
> will be missing.
So there is a mmap right before it crashes and it does not set
MAP_STACK, only MAP_PRIVATE|MAP_ANON. I dont exactly have the time to
investigate more today, but I'll look at it again later this week. In
the meantime I've joined the output of kdump.
 39430 ktrace   RET   ktrace 0
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/home/patrick/bin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/bin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/sbin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/usr/bin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/usr/sbin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/usr/X11R6/bin/9"
 39430 ktrace   RET   execve -1 errno 2 No such file or directory
 39430 ktrace   CALL  execve(0x7f7c5630,0x7f7c5bb8,0x7f7c5bd0)
 39430 ktrace   NAMI  "/usr/local/bin/9"
 39430 ktrace   NAMI  "/bin/sh"
 39430 ktrace   ARGS  
[0] = "/bin/sh"
[1] = "/usr/local/bin/9"
[2] = "acme"
 39430 sh   RET   execve 0
 39430 sh   CALL  mprotect(0xf880fa832d0,0x1d20,0x1)
 39430 sh   RET   mprotect 0
 39430 sh   CALL  kbind(0,0,0)
 39430 sh   RET   kbind 0
 39430 sh   CALL  
mmap(0,0x40,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17088257970176/0xf8aab8bd000
 39430 sh   CALL  getthrid()
 39430 sh   RET   getthrid 125773/0x1eb4d
 39430 sh   CALL  __set_tcb(0xf8aab8bd000)
 39430 sh   RET   __set_tcb 0
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17085717172224/0xf8a141a5000
 39430 sh   CALL  mprotect(0xf8a141a5000,0x1000,0x1)
 39430 sh   RET   mprotect 0
 39430 sh   CALL  pledge(0xf880f9731c2,0)
 39430 sh   STRU  promise="stdio rpath wpath cpath fattr flock getpw proc 
exec tty"
 39430 sh   RET   pledge 0
 39430 sh   CALL  readlink(0xf880f975f8e,0x7f7cd4a0,63)
 39430 sh   NAMI  "/etc/malloc.conf"
 39430 sh   RET   readlink -1 errno 2 No such file or directory
 39430 sh   CALL  issetugid()
 39430 sh   RET   issetugid 0
 39430 sh   CALL  getentropy(0x7f7cd430,40)
 39430 sh   RET   getentropy 0
 39430 sh   CALL  
mmap(0,0x450,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17086025576448/0xf8a267c3000
 39430 sh   CALL  minherit(0xf8a267c3000,0x450,MAP_INHERIT_ZERO)
 39430 sh   RET   minherit 0
 39430 sh   CALL  mprotect(0xf880fa92000,0x1000,0x3)
 39430 sh   RET   mprotect 0
 39430 sh   CALL  
mmap(0,0x4000,0,0x1002,-1,0)
 39430 sh   RET   mmap 17088441876480/0xf8ab682
 39430 sh   CALL  mprotect(0xf8ab6821000,0x2000,0x3)
 39430 sh   RET   mprotect 0
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17089010298880/0xf8ad8637000
 39430 sh   CALL  mprotect(0xf880fa92000,0x1000,0x1)
 39430 sh   RET   mprotect 0
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17087969476608/0xf8a9a59c000
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17088927444992/0xf8ad3733000
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17087480500224/0xf8a7d349000
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17089152483328/0xf8ae0dd
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 17086353305600/0xf8a3a04f000
 39430 sh   CALL  
mmap(0,0x1000,0x3,0x1002,-1,0)
 39430 sh   RET   mmap 

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Theo de Raadt
Patrick Marchand  wrote:

> On 04/08, Patrick Marchand wrote:
> > Compilation succeeds on the april 8 snapshot
> 
> Though now I'm getting Abort Trap whenever I try to run the plumber or
> acme. I was able to compile some programs with mk though, as I compiled
> both $PLAN9/src/cmd/upas and $PLAN9/src/cmd/upas/nfs. I've joined the
> dmesg of the current system.

>From your mail:

trap pid 4946 tid 8385 type 6: sp 10581fac3000 not inside 
7f7fffbcc000-7f7cc000
trap pid 1024 tid 121465 type 6: sp 1e5a10690248 not inside 
7f7fffbfb000-7f7fa000

At the moment snapshots contain the MAP_STACK diff.  Your program is
setting up threads incorrectly (it has it's own thread library?),
resulting in stacks not being mapped with MAP_STACK.  Stacks must be
carefully setup now.  ktrace -di may expose the memory allocation which
setup an address corresponding to a crash, basically a mmap with MAP_STACK
will be missing.



Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
On 04/08, Patrick Marchand wrote:
> Compilation succeeds on the april 8 snapshot

Though now I'm getting Abort Trap whenever I try to run the plumber or
acme. I was able to compile some programs with mk though, as I compiled
both $PLAN9/src/cmd/upas and $PLAN9/src/cmd/upas/nfs. I've joined the
dmesg of the current system.
OpenBSD 6.3-current (GENERIC.MP) #135: Thu Apr  5 12:31:23 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8261529600 (7878MB)
avail mem = 8004063232 (7633MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xccbfd000 (65 entries)
bios0: vendor LENOVO version "N14ET42W (1.20 )" date 09/13/2017
bios0: LENOVO 20BTS0Y500
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT PCCT SSDT UEFI MSDM BATB FPDT UEFI DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.67 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpihpet0: recalibrated TSC frequency 2593995060 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.23 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.23 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.23 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 3 (EXP1)
acpiprt3 at acpi0: bus 4 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 10 (EXP6)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 128 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpicmos0 at acpi0
"LEN0071" at acpi0 not configured
"LEN0048" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "00HW003" serial   716 type LiP oem "SMP"
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-08 Thread Patrick Marchand
Compilation succeeds on the april 8 snapshot



Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-06 Thread Patrick Marchand
On 04/05, Philip Guenther wrote:
> On Thu, Apr 5, 2018 at 9:50 PM, Philip Guenther  wrote:
> 
> > On Thu, Apr 5, 2018 at 7:53 PM, Patrick Marchand  > > wrote:
> >
> >> Output of compiling plan9port on amd64 with the april 5 snaphot
> >>
> > ...
> >
> >> ===>  Patching for plan9port-20180117
> >> Segmentation fault (core dumped)
> >> *** Warning in /usr/ports/plan9/plan9port: "uname -m" returned non-zero
> >>
> >
> > dmesg from this box, please.
> >
> 
> Also, does this segfault happen consistently at that same exact spot, or is
> it inconsistent?

It appears to be inconsistent, I've joined a file containing a few
failed runs and another with the dmesg.
OpenBSD 6.3-current (GENERIC.MP) #135: Thu Apr  5 12:31:23 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8261529600 (7878MB)
avail mem = 8004067328 (7633MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xccbfd000 (65 entries)
bios0: vendor LENOVO version "N14ET42W (1.20 )" date 09/13/2017
bios0: LENOVO 20BTS0Y500
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC ASF! HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT SSDT 
SSDT SSDT SSDT SSDT PCCT SSDT UEFI MSDM BATB FPDT UEFI DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.59 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
acpihpet0: recalibrated TSC frequency 2593996580 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 3 (EXP1)
acpiprt3 at acpi0: bus 4 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 10 (EXP6)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33), 
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, 

Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-05 Thread Philip Guenther
On Thu, Apr 5, 2018 at 9:50 PM, Philip Guenther  wrote:

> On Thu, Apr 5, 2018 at 7:53 PM, Patrick Marchand  > wrote:
>
>> Output of compiling plan9port on amd64 with the april 5 snaphot
>>
> ...
>
>> ===>  Patching for plan9port-20180117
>> Segmentation fault (core dumped)
>> *** Warning in /usr/ports/plan9/plan9port: "uname -m" returned non-zero
>>
>
> dmesg from this box, please.
>

Also, does this segfault happen consistently at that same exact spot, or is
it inconsistent?


Re: Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-05 Thread Philip Guenther
On Thu, Apr 5, 2018 at 7:53 PM, Patrick Marchand 
wrote:

> Output of compiling plan9port on amd64 with the april 5 snaphot
>
...

> ===>  Patching for plan9port-20180117
> Segmentation fault (core dumped)
> *** Warning in /usr/ports/plan9/plan9port: "uname -m" returned non-zero
>

dmesg from this box, please.


Philip Guenther


Compilations errors with plan9port on 2018/04/05 snapshot

2018-04-05 Thread Patrick Marchand
Output of compiling plan9port on amd64 with the april 5 snaphot

===> plan9port-20180117 depends on: bzip2-* -> bzip2-1.0.6p8
===>  Verifying specs:  X11 Xext c m pthread util fontconfig freetype z
===>  found X11.16.1 Xext.13.0 c.92.3 m.10.1 pthread.25.1 util.13.0
fontconfig.11.0 freetype.28.2 z.5.0
===>  Checking files for plan9port-20180117
>> Fetch
>> https://github.com/9fans/plan9port/archive/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz
>> Fetch http://pdos.lcs.mit.edu/~rsc/pgw.tar.bz2
ftp: SSL write error: name `pdos.lcs.mit.edu' not present in server
certificate
>> Fetch
>> https://ftp.openbsd.org/pub/OpenBSD/distfiles/plan9port/pgw.tar.bz2
pgw.tar.bz2  100%
|***|
9184 KB00:11
>> Fetch http://pdos.lcs.mit.edu/~rsc/software/plan9/roget.tar.bz2
ftp: SSL write error: name `pdos.lcs.mit.edu' not present in server
certificate
>> Fetch
>> https://ftp.openbsd.org/pub/OpenBSD/distfiles/plan9port/roget.tar.bz2
roget.tar.bz2 100%
|**|
471 KB00:01
>> Fetch http://pdos.lcs.mit.edu/~rsc/scat.tgz
ftp: SSL write error: name `pdos.lcs.mit.edu' not present in server
certificate
>> Fetch
>> https://ftp.openbsd.org/pub/OpenBSD/distfiles/plan9port/scat.tgz
scat.tgz 100%
|***|
5024 KB00:09
>> (SHA256) plan9port/019be4481fee53a999ccb73c78e40df5f408b24e.tar.gz:
>> OK
>> (SHA256) plan9port/pgw.tar.bz2: OK
>> (SHA256) plan9port/roget.tar.bz2: OK
>> (SHA256) plan9port/scat.tgz: OK
===>  Extracting for plan9port-20180117
cd
/usr/obj/ports/plan9port-20180117/plan9port-019be4481fee53a999ccb73c78e40df5f408b24e/dict
&& tar xjf /usr/ports/distfiles/plan9port/pgw.tar.bz2
cd
/usr/obj/ports/plan9port-20180117/plan9port-019be4481fee53a999ccb73c78e40df5f408b24e/dict
&& tar xjf /usr/ports/distfiles/plan9port/roget.tar.bz2
cd
/usr/obj/ports/plan9port-20180117/plan9port-019be4481fee53a999ccb73c78e40df5f408b24e/sky
&& tar xzf /usr/ports/distfiles/plan9port/scat.tgz
===>  Patching for plan9port-20180117
Segmentation fault (core dumped)
*** Warning in /usr/ports/plan9/plan9port: "uname -m" returned non-zero
status (/usr/ports/infrastructure/mk/arch-defines.mk:12)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: Wrong number of items in for loop
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
1 items for 2 variables: amd64
*** Parse error: Missing dependency operator
(/usr/ports/infrastructure/mk/arch-defines.mk:45)
*** Parse error: Need an operator in 'endfor'
(/usr/ports/infrastructure/mk/arch-defines.mk:49)
*** Parse error: