Skip to content

Instantly share code, notes, and snippets.

View cjac's full-sized avatar

C.J. Collier cjac

View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2wQQmYHVpW0b2N66G34hucdeLeDQ1dqcdm5Tnl3W/LzWcfxbhFrmIf+/h8djgTHeZBzWx+fE4Z4T4P4ZnyzRGCfvBHEa5f+SRJ9AYuthm8BE4lVTYS/J6DlNFlRF8YEKYTnXKSky3J98TatPorBKbuo7H8VW7FAj0BbcD0s8kelL/SNSVNduWho7ikyUW2tGvqfByUXkB8CP7dMWbNm0uU2VZYDUAwTpWBQr01LCCO6HciTCeBiZ/Xde3t7u7JjH/MQFPEXJZ2vG8zQyRbhbSirhSzFywnibL0LEJaMwFDCeuzv5RgiBtDgYvSC2XsQO6ExctxfkHOa+F6GTXgHVw== /home/cjac/.ssh/id_rsa.sh0
username: cjac
[exec] **********************************************************************
[exec] *** ***
[exec] *** OpenSSL has been successfully configured ***
[exec] *** ***
[exec] *** If you encounter a problem while building, please open an ***
[exec] *** issue on GitHub <https://github.com/openssl/openssl/issues> ***
[exec] *** and include the output from the following command: ***
[exec] *** ***
[exec] *** perl configdata.pm --dump ***
[exec] *** ***
cj@debian:~/src/netty-tcnative$ git diff
diff --git a/openssl-static/pom.xml b/openssl-static/pom.xml
index a37db16..5934d2c 100644
--- a/openssl-static/pom.xml
+++ b/openssl-static/pom.xml
@@ -133,6 +133,7 @@
<forceConfigure>${forceConfigure}</forceConfigure>
<windowsBuildTool>msbuild</windowsBuildTool>
<configureArgs>
+ <configureArg>CFLAGS=-mcpu=v9a</configureArg>
[INFO] --- maven-hawtjni-plugin:1.11:build (build-native-lib) @ netty-tcnative-openssl-static ---
[INFO] executing: /bin/sh -c ./configure --disable-ccache --prefix=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target 'CFLAGS="CC=gcc -mcpu=v9a"' MACOSX_DEPLOYMENT_TARGET=10.9 --with-ssl=/home/cj/src/netty-tcnative/openssl-static/target/ssl --with-apr=/home/cj/src/netty-tcnative/openssl-static/target/apr --with-static-libs --libdir=/home/cj/src/netty-tcnative/openssl-static/target/native-build/target/lib
[INFO] configure: WARNING: unrecognized options: --disable-ccache
[INFO] checking build system type... sparc64-unknown-linux-gnu
[INFO] checking host system type... sparc64-unknown-linux-gnu
[INFO] checking target system type... sparc64-unknown-linux-gnu
[INFO] ./configure: line 2295: "CC=gcc: command not found
[INFO] ./configure: line 2296: -O3: command not found
[INFO] checking for gcc... gcc
[INFO] checking whether the C compiler works... no
mkdir -p /usr/src/tmp/
cd /usr/src/tmp
wget 'https://dl.google.com/go/go1.4.linux-amd64.tar.gz'
tar xfvz go1.4.linux-amd64.tar.gz
mkdir -p /usr/src/git/github/4ad
cd /usr/src/git/github/4ad
git clone [email protected]:4ad/go.git
cd go/src
GOROOT_BOOTSTRAP=/usr/src/tmp/go GOOS=solaris GOARCH=sparc64 ./make.bash
file ../bin/solaris_sparc64/go
mkdir -p /usr/src/tmp/
cd /usr/src/tmp
wget 'https://dl.google.com/go/go1.4.linux-amd64.tar.gz'
tar xfvz go1.4.linux-amd64.tar.gz
mkdir -p /usr/src/git/github/4ad
cd /usr/src/git/github/4ad
git clone [email protected]:4ad/go.git
cd go/src
GOROOT_BOOTSTRAP=/usr/src/tmp/go GOOS=solaris GOARCH=sparc64 ./make.bash
file ../bin/solaris_sparc64/go
pkgadd -d http://get.opencsw.org/now
/opt/csw/bin/pkgutil -U
PKG="maven automake autoconf libtool openssl perl ninja go"
PKG="${PKG} cmake gsed ggrep gawk libapr1_0" gcc4core gcc4g++
for pkg in ${PKG}
do
/opt/csw/bin/pkgutil -y -i ${pkg}
done
root@wanjet1:~# tcpdump -s0 -n -i ens11 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ens11, link-type EN10MB (Ethernet), capture size 262144 bytes
22:01:06.392706 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:06.433317 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
22:01:08.651118 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:09.639694 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
22:01:10.876461 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:10.996402 IP6 fe80::e11:67ff:fe02:4822 > ff02::16: HBH ICMP6, multicast listener report v2, 6 group record(s), length 128
22:01:12.804788 IP6 fe80::e11:67ff:fe02:4822 > ff02::1: ICMP6, router advertisement, length 160
cjac@wanjet1:~$ sudo tcpdump -vvv -s0 -n -i ens11 ip6
[sudo] password for cjac:
tcpdump: listening on ens11, link-type EN10MB (Ethernet), capture size 262144 bytes
22:12:50.478573 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58) payload length: 160) fe80::e11:67ff:fe02:4822 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 160
hop limit 64, Flags [managed, other stateful], pref medium, router lifetime 1800s, reachable time 3600000s, retrans time 0s
source link-address option (1), length 8 (1): 0c:11:67:02:48:22
0x0000: 0c11 6702 4822
mtu option (5), length 8 (1): 1500
0x0000: 0000 0000 05dc
prefix info option (3), length 32 (4): 2001:558:4082:8c::/64, Flags [none], valid time 604800s, pref. time 302400s
tcpdump: listening on ens11, link-type EN10MB (Ethernet), capture size 262144 bytes
22:22:37.642902 IP6 (class 0xe0, hlim 1, next-header Options (0) payload length: 136) fe80::e11:67ff:fe02:4822 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 6 group record(s) [gaddr ff02::2 is_ex { }] [gaddr ff02::d is_ex { }] [gaddr ff02::16 is_ex { }] [gaddr ff02::1:2 is_ex { }] [gaddr ff02::1:ff00:1 is_ex { }] [gaddr ff02::1:ff02:4822 is_ex { }]
22:22:38.392622 IP6 (class 0xe0, hlim 1, next-header Options (0) payload length: 136) fe80::e11:67ff:fe02:4822 > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 6 group record(s) [gaddr ff02::2 is_ex { }] [gaddr ff02::d is_ex { }] [gaddr ff02::16 is_ex { }] [gaddr ff02::1:2 is_ex { }] [gaddr ff02::1:ff00:1 is_ex { }] [gaddr ff02::1:ff02:4822 is_ex { }]
22:22:38.741628 IP6 (class 0xe0, hlim 255, next-header ICMPv6 (58) payload length: 160) fe80::e11:67ff:fe02:4822 > ff02::1: [icmp6 sum ok] ICMP6