Skip to content

Instantly share code, notes, and snippets.

View thierry-FreeBSD's full-sized avatar

Thierry Thomas thierry-FreeBSD

View GitHub Profile
@thierry-FreeBSD
thierry-FreeBSD / keybase.md
Created March 13, 2014 23:08
### Keybase proof

Keybase proof

I hereby claim:

  • I am thierry-FreeBSD on github.
  • I am thierry (https://keybase.io/thierry) on keybase.
  • I have a public key whose fingerprint is E536 BE85 3853 99D0 0B6F AA76 F1C5 16B3 C835 9753

To claim this, I am signing this object:

@thierry-FreeBSD
thierry-FreeBSD / gist:adeab235d2e00ac9537e
Created February 11, 2015 20:48
Backtrace for Corebird segfault
#0 0x0000000803fdc08f in g_string_append_uri_escaped () from /usr/local/lib/libglib-2.0.so.0
#1 0x00000008013cc017 in oauth_proxy_call_parse_token_reponse () from /usr/local/lib/librest-0.7.so.0
#2 0x00000008013c7277 in rest_proxy_call_async () from /usr/local/lib/librest-0.7.so.0
#3 0x00000008013c7053 in rest_proxy_call_async () from /usr/local/lib/librest-0.7.so.0
#4 0x00000008013c8523 in rest_proxy_call_run () from /usr/local/lib/librest-0.7.so.0
#5 0x00000008013cad5e in oauth_proxy_request_token () from /usr/local/lib/librest-0.7.so.0
#6 0x0000000000457316 in account_create_widget_open_pin_request_site (self=0x80b229260) at widgets/AccountCreateWidget.c:256
#7 0x0000000803d36b4a in g_closure_invoke () from /usr/local/lib/libgobject-2.0.so.0
#8 0x0000000803d4b881 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#9 0x0000000803d4c274 in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
@thierry-FreeBSD
thierry-FreeBSD / bsd.port.mk
Created June 17, 2015 18:00
Addind PIE support in FreeBSD ports/bsd.port.mk
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk (revision 389737)
+++ Mk/bsd.port.mk (working copy)
@@ -322,6 +322,8 @@
#
# WITH_DEBUG_PORTS - A list of origins for which WITH_DEBUG will be set
#
+# WITHOUT_PIE - Do not build with PIE for full ASLR.
+#
Verifying that "thierry.id" is my Blockstack ID. https://onename.com/thierry
@thierry-FreeBSD
thierry-FreeBSD / log.txt-main.3251.moz_log
Created May 28, 2020 12:11
log.txt-main.3251.moz_log
[Parent 3251: Main Thread]: I/Logger Flushing old log files
2020-05-28 12:08:20.437919 UTC - [Parent 3251: Main Thread]: V/nsHttp HttpChannelParent::CleanupBackgroundChannel [this=0x81b3c50c0 bgParent=0x0]
2020-05-28 12:08:20.448120 UTC - [Parent 3251: Main Thread]: V/nsHttp HttpChannelParent::CleanupBackgroundChannel [this=0x81b3c50c0 bgParent=0x0]
2020-05-28 12:08:20.448148 UTC - [Parent 3251: Main Thread]: V/nsHttp Destroying HttpChannelParent [this=0x81b3c50c0]
2020-05-28 12:08:20.448157 UTC - [Parent 3251: Main Thread]: V/nsHttp HttpChannelParent::CleanupBackgroundChannel [this=0x81b3c50c0 bgParent=0x0]
2020-05-28 12:08:20.448166 UTC - [Parent 3251: Main Thread]: D/nsHttp ParentChannelListener::~ParentChannelListener 0x81bf82d90
2020-05-28 12:08:20.478843 UTC - [Parent 3251: Main Thread]: V/nsHttp HttpChannelParent::CleanupBackgroundChannel [this=0x822e32900 bgParent=0x0]
2020-05-28 12:08:20.479141 UTC - [Parent 3251: Main Thread]: V/nsHttp HttpChannelParent::CleanupBackgroundChannel [this=0x822e32900 bg
When Code_Aster has been compiled by Gcc and TFEL/MFront has been compiled by clang, we got a linker error:
$ gfortran9 -Wl,--allow-multiple-definition -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -B/usr/local/bin -L/usr/local/lib -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -Wl,--export-dynamic -fopenmp -L/usr/local/lib -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/lib64 -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib/gcc9 -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/li
Extra tables GNU and Hurd build and install fine on FreeBSD, pinball finds them, but they cannot be loaded:
MenuSub::perform() load table
MenuSub::draw() load table
MenuSub::draw() load table
MenuSub::draw() load table
No current table name! (the first time is normal...)
SignalSender::clear()
loaded texture: /usr/local/share/pinball/gnu/tiles3.png
size 256 256
$ python3.8 -c 'import numpy; numpy.linalg.test()'
NumPy version 1.20.3
NumPy relaxed strides checking option: True
NumPy CPU features: SSE SSE2 SSE3 SSSE3* SSE41* POPCNT* SSE42* AVX* F16C* FMA3? AVX2? AVX512F? AVX512CD? AVX512_KNL? AVX512_SKX? AVX512_CLX? AVX512_CNL? AVX512_ICL?
s...............................................F.............................................................................................................................................................................................................. [ 83%]
.........................................x......... [100%]
============================================================================================================================== FAILURES =================================================================================
--- symcxx/_symcxx.cpp.orig 2018-07-02 12:52:18 UTC
+++ symcxx/_symcxx.cpp
@@ -48521,7 +48521,9 @@ static PyTypeObject __pyx_type_6symcxx_7_symcxx__Matri
sizeof(struct __pyx_obj_6symcxx_7_symcxx__Matrix), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_6symcxx_7_symcxx__Matrix, /*tp_dealloc*/
+#if PY_VERSION_HEX < 0x03090000
0, /*tp_print*/
+#endif
0, /*tp_getattr*/
--- wordcloud/query_integral_image.c.orig 2018-07-26 16:13:02 UTC
+++ wordcloud/query_integral_image.c
@@ -15445,7 +15445,9 @@ static PyTypeObject __pyx_type___pyx_array = {
sizeof(struct __pyx_array_obj), /*tp_basicsize*/
0, /*tp_itemsize*/
__pyx_tp_dealloc_array, /*tp_dealloc*/
+#if PY_VERSION_HEX < 0x03090000
0, /*tp_print*/
+#endif
0, /*tp_getattr*/