Skip to content

Instantly share code, notes, and snippets.

View alarcher's full-sized avatar

Aurélien Larcher alarcher

  • CEMEF - MINES Paris | PSL
  • Sophia-Antipolis
View GitHub Profile
@alarcher
alarcher / gist:57cf0cd28ff10ad8eda90d8e78352391
Last active August 8, 2019 14:34
userland rebuild failures
cluster/pcs -> invalid manifest after ruby update
desktop/gnome3/seahorse -> missing dependency? Couldn't find 'usr/lib/amd64/seahorse/xloadimage' in any of the specified search directories:
desktop/gnome3/evolution-data-server -> ld.so.1: EDataServer-1.2: fatal: libstdc++.so.6: version 'GLIBCXX_3.4.21' not found
developer/autogen -> 64-bit build fails which: no bash in ((null))
developer/opensp -> broken with new gettext
editor/bvi -> curses issue
editor/emacs -> segmentation fault
library/physfs -> wrong library path
network/openconnect -> obsolete required package and pkgdepend error
network/lftp -> curses issue
@alarcher
alarcher / truss06.txt
Created August 3, 2019 14:37
pmix truss test 06
21475: execve("/usr/bin/i86/ksh93", 0x0803D28C, 0x0803D2A8) argc = 6
21475: sysinfo(SI_MACHINE, "i86pc", 257) = 6
21475: mmap(0x00000000, 32, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFD8E0000
21475: sysconfig(_CONFIG_PAGESIZE) = 4096
21475: mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFE130000
21475: mmap(0x00000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFE4F0000
21475: mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFE670000
21475: memcntl(0xEF0CA000, 49228, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
21475: memcntl(0x08050000, 3208, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
21475: resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
@alarcher
alarcher / mail_msg
Created June 1, 2018 15:45
illumos-gate + GCC 8.1 + binutils 2.30
==== Nightly distributed build started: Fri Jun 1 07:49:44 PDT 2018 ====
==== Nightly distributed build completed: Fri Jun 1 07:58:51 PDT 2018 ====
==== Total build time ====
real 0:09:06
==== Build environment ====
#32-bit
> ./xgcc -c -g -save-temps -o t.o t.S && cat t.s && readelf -w t.o
foo: ret
Raw dump of debug contents of section .debug_line:
Offset: 0x0
Length: 45
DWARF Version: 2
Prologue Length: 26
Minimum Instruction Length: 1
> diff -a build/i86/stage2-i386-pc-solaris2.11/amd64/libgcc/sse_resms64_s.o build/i86/stage3-i386-pc-solaris2.11/amd64/libgcc/sse_resms64_s.o
1c1
/var/tmp/ccoxaW9y.s LLLLLLK/K*�%,P/var/tmp//ccoxaW9y.s/scratch/alarcher/oi-userland/components/developer/gcc-8/build/i86/i386-pc-solaris2.11/amd64/libgccGNU AS 2.30
 PL#H4
DE@V<g8__sse_resms64_18__sse_resms64_17__sse_resms64_16__sse_resms64_15__sse_resms64_14__sse_resms64_13__sse_resms64_128
---
/var/tmp/ccgMaaLG.s LLLLLLK/K*�%,P/var/tmp//ccgMaaLG.s/scratch/alarcher/oi-userland/components/developer/gcc-8/build/i86/i386-pc-solaris2.11/amd64/libgccGNU AS 2.30
 PL#H4
DE@V<g8__sse_resms64_18__sse_resms64_17__sse_resms64_16__sse_resms64_15__sse_resms64_14__sse_res
alarcher@pikku:/home/alarcher$ sudo dtrace -qn 'syscall::recvmsg:entry /execname == "firefox"/ { @[arg0] = count(); } tick-60s {exit(0); }'
19 6
20 6
17 14
52 80
22 428
43 1124
13 2108
46 2399
alarcher@pikku:/home/alarcher$ sudo dtrace -qn 'syscall:::entry /execname == "firefox"/ { self->ts = timestamp; } syscall:::return /self->ts/ { @[probefunc] = count(); } tick-60s { printa(@); exit(0) }'
Password:
mmap 1
gtime 8
yield 12
lwp_kill 36
lwp_sigmask 36
setcontext 36
getpid 120
@alarcher
alarcher / gist:330e67e29d487f6a7a4b4537d3510958
Created September 13, 2016 20:09
qtdiag 5.8 OpenIndiana
helios> /opt/qt5/bin/qtdiag
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alarcher'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-alarcher'
(<unknown>:9745): GLib-GObject-WARNING **: The property GtkSettings:gtk-fallback-icon-theme is deprecated and shouldn't be used anymore. It will be removed in a future version.
Qt 5.8.0 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 4.9.4) on "xcb"
OS: unknown [unknown version ]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
pikku> mdb /var/crash/pikku/{unix,vmcore}.8
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc
apix scsi_vhci zfs sata sd ip hook neti sockfs arp usba i915 mm fctl
stmf stmf_sbd lofs random idm sppp crypto cpc fcip ufs logindmux ptm
nfs ipc ]
> ::status
debugging crash dump /var/crash/pikku/vmcore.8 (64-bit) from pikku
operating system: 5.11 illumos-f2d34af (i86pc)
image uuid: 1c79d430-8ca4-cfed-bada-d45c2df2d01a
panic message:
@alarcher
alarcher / gist:2db231dd1159740ac34e45e03afce884
Created August 15, 2016 18:02
gfortran 5.4 OK no patches
alarcher@pikku:/scratch/alarcher/openmp/npb/NPB3.3.1/NPB3.3-OMP/MG$ LD_DEBUG=files,libs gfortran-5.4 -c -O2 mg.f
debug:
debug: Solaris Linkers: 5.11-1.1753 (illumos)
debug:
20721:
20721: platform capability (CA_SUNW_PLAT) - i86pc
20721: machine capability (CA_SUNW_MACH) - i86pc
20721: hardware capabilities (CA_SUNW_HW_1) - 0x7dd75c6f [ VMX AVX XSAVE PCLMULQDQ AES SSE4.2 SSE4.1 SSSE3 POPCNT TSCP AHF CX16 SSE3 SSE2 SSE FXSR MMX CMOV SEP CX8 TSC FPU ]
20721:
20721: