Re: reordering libs failed - cannot find -lcompiler_rt

2017-07-29 Thread Marc Espie
On Sat, Jul 29, 2017 at 08:24:41PM +0200, Mark Patruck wrote:
> Short info. Installating comp61.tgz makes reorder_libs() work.
> 
Somehow, nobody tested on arm64 without comp.

Theo just fixed this, thanks (libcompiler_rt.a should indeed be in
base)



Re: reordering libs failed - cannot find -lcompiler_rt

2017-07-29 Thread Mark Patruck
Short info. Installating comp61.tgz makes reorder_libs() work.

On Fri, Jul 28, 2017 at 04:07:49PM +0200, Mark Patruck wrote:
> Hi,
> 
> after updating a two month old amd64 to -current today
> (base61, bsd.mp, bsd.rd only), i get the following warning while
> reordering libraries on boot.
> 
> -
> 
> starting network
> reordering libraries:/usr/bin/ld: cannot find -lcompiler_rt
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> install: libc.so.89.6: No such file or directory
>  failed.
> starting early daemons: pflogdpflogd[15990]: [priv]: msg PRIV_OPEN_LOG 
> received
> .
> 
> -
> 
> Also, right after starting "iked" the systems jumps into ddb:
> 
> login: WARNING: SPL NOT LOWERED ON SYSCALL 247 4 EXIT 832a3900 7
> Stopped atXsyscall+0x1d5: movl$0,%gs:0x4e0
> ddb{1}> _
> 
> I'll try to get trace and ps and report back.
> 
> 
> -- 
> Mark Patruck ( mark at wrapped.cx )
> GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
> 
> http://www.wrapped.cx
> 

-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx



Re: reordering libs failed - cannot find -lcompiler_rt

2017-07-28 Thread Mark Patruck
missed dmesg

OpenBSD 6.1-current (GENERIC.MP) #0: Fri Jul 28 10:10:38 CEST 2017
m...@aquila.paccotec.de:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4236161024 (4039MB)
avail mem = 4101410816 (3911MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec170 (79 entries)
bios0: vendor American Megatrends Inc. version "3.0" date 04/24/2015
bios0: Supermicro X10SLM-F
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT SSDT SSDT MCFG PRAD HPET 
SSDT SSDT SPMI EINJ ERST HEST BERT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) 
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP05(S4) 
GLAN(S4) EHC1(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz, 2800.42 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,EST,TM2,SSSE3,SDBG
,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2800424720 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Celeron(R) CPU G1840 @ 2.80GHz, 2800.00 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,EST,TM2,SSSE3,SDBG
,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,ERMS,INVPCID,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEG0)
acpiprt2 at acpi0: bus 2 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 3 (RP01)
acpiprt5 at acpi0: bus 5 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 6 (RP05)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C2(350@117 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(350@117 mwait.1@0x20), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: PG01, resource for PEG1
acpipwrres2 at acpi0: PG02, resource for PEG2
acpipwrres3 at acpi0: FN00, resource for FAN0
acpipwrres4 at acpi0: FN01, resource for FAN1
acpipwrres5 at acpi0: FN02, resource for FAN2
acpipwrres6 at acpi0: FN03, resource for FAN3
acpipwrres7 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
"INT3F0D" at acpi0 not configured
"IPI0001" at acpi0 not configured
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
ipmi at mainbus0 not configured
cpu0: Enhanced SpeedStep 2800 MHz: speeds: 2800, 2700, 2500, 2400, 2300, 2100, 
2000, 1900, 1700, 1600, 1500, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel I350" rev 0x01: msi, address 
a0:36:9f:78:11:ac
em1 at pci1 dev 0 function 1 "Intel I350" rev 0x01: msi, address 
a0:36:9f:78:11:ad
ppb1 at pci0 dev 1 function 1 "Intel Core 4G PCIE" rev 0x06: msi
pci2 at ppb1 bus 2
em2 at pci2 dev 0 function 0 "Intel I350" rev 0x01: msi, address 
a0:36:9f:d2:cf:10
em3 at pci2 dev 0 function 1 "Intel I350" rev 0x01: msi, address 
a0:36:9f:d2:cf:11
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 
addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 1 not configured
em4 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x05: msi, address 
0c:c4:7a:74:63:47
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 8 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 
addr 1
ppb2 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
ppb3 at pci3 dev 0 function 0 "ASPEED Technology AST1150 PCI" rev 0x03
pci4 at ppb3 bus 4
vga1 at pci4 dev 0 

reordering libs failed - cannot find -lcompiler_rt

2017-07-28 Thread Mark Patruck
Hi,

after updating a two month old amd64 to -current today
(base61, bsd.mp, bsd.rd only), i get the following warning while
reordering libraries on boot.

-

starting network
reordering libraries:/usr/bin/ld: cannot find -lcompiler_rt
cc: error: linker command failed with exit code 1 (use -v to see invocation)
install: libc.so.89.6: No such file or directory
 failed.
starting early daemons: pflogdpflogd[15990]: [priv]: msg PRIV_OPEN_LOG received
.

-

Also, right after starting "iked" the systems jumps into ddb:

login: WARNING: SPL NOT LOWERED ON SYSCALL 247 4 EXIT 832a3900 7
Stopped at  Xsyscall+0x1d5: movl$0,%gs:0x4e0
ddb{1}> _

I'll try to get trace and ps and report back.


-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx