<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div><br></div><div>Pcreposix is the eegex in peripheral nerves— she'sregular expression).</div><div><br></div><div>It looks like you are having isues witg word size. Your machine seems confusef about word size issues. I386 amd64 and  x86€_64 all sem ro show  up.</div><div><br></div><div>I also thibk I remember that gcc and egcs hadsome compatibility issues. Wasnt  egcs begore gcc 4.2, not a later version?</div><div><br></div><div><br></div><div><br></div><div><div style="font-size:100%">Sent from Samsung tablet</div></div><br><br><br>-------- Original message --------<br>From Cory Smelosky <b4@gewt.net> <br>Date: 11/11/2014  12:54 AM  (GMT-07:00) <br>To simh@trailing-edge.com <br>Subject [Simh] OpenBSD (5.6) issues <br> <br><br>All,<br><br>Seem to be a few issues building latest GIT on OpenBSD.<br><br>csmelosky@maelona: ~/simh git reset --hard<br>HEAD is now at a0c7f99 scp: avoid redefining MAX<br>csmelosky@maelona: ~/simh nano makefile<br>csmelosky@maelona: ~/simh gmake<br>lib paths are: /usr/lib /usr/X11R6/lib /usr/local/lib<br>include paths are: /usr/include /usr/local/include<br>using libm: /usr/lib/libm.a<br>using libpthread: /usr/lib/libpthread.a /usr/include/pthread.h<br>using libpcreposix: /usr/local/lib/libpcreposix.a <br>/usr/local/include/pcreposix.h<br>using libdl: /usr/include/dlfcn.h<br>using libSDL: /usr/local/lib/libSDL.a /usr/local/include/SDL/SDL.h<br>using libpcap: /usr/include/pcap.h<br>***<br>*** all  Simulators being built with:<br>*** - compiler optimizations and no debugging support. GCC Version: 4.2.1.<br>*** - dynamic networking support using OpenBSD provided libpcap <br>components.<br>*** - Local LAN packet transports: PCAP TAP<br>*** - video capabilities provided by libSDL (Simple Directmedia Layer).<br>***<br>*** git commit id is a0c7f99a5e35f8f3abd6b92d2ce66ba24f601b5d.<br>***<br>mkdir -p BIN<br>gcc -std=c99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-reload <br>-fno-unsafe-loop-optimizations -fno-strict-overflow <br>-DSIM_GIT_COMMIT_ID=a0c7f99a5e35f8f3abd6b92d2ce66ba24f601b5d <br>-DSIM_COMPILER="GCC Version: 4.2.1" -I . -D_GNU_SOURCE <br>-I/usr/local/include -DUSE_READER_THREAD -DSIM_ASYNCH_IO <br>-DHAVE_PCREPOSIX_H -DHAVE_DLOPEN=so -DHAVE_GLOB -DHAVE_LIBSDL <br>-I/usr/local/include/SDL/  PDP1/pdp1_lp.c PDP1/pdp1_cpu.c <br>PDP1/pdp1_stddev.c PDP1/pdp1_sys.c PDP1/pdp1_dt.c PDP1/pdp1_drm.c <br>PDP1/pdp1_clk.c PDP1/pdp1_dcs.c PDP1/pdp1_dpy.c  scp.c sim_console.c <br>sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c <br>sim_disk.c sim_serial.c sim_video.c sim_imd.c -I PDP1  -o BIN/pdp1 -lm <br>-lpthread -lpcreposix -lSDL<br>/usr/bin/ld: cannot find -lpcreposix<br>collect2: ld returned 1 exit status<br>makefile:1227: recipe for target 'BIN/pdp1' failed<br>gmake: *** [BIN/pdp1] Error 1<br><br>$ gcc -v<br>Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd5.6/4.2.1/specs<br>Target: amd64-unknown-openbsd5.6<br>Configured with: OpenBSD/amd64 system compiler<br>Thread model: posix<br>gcc version 4.2.1 20070719<br><br>Issue reproducible with clang.<br>clang version 3.5 (trunk)<br>Target: amd64-unknown-openbsd5.6<br>Thread model: posix<br><br>However, it links fine with a later GCC:<br>$ /usr/local/bin/egcc -v<br>Using built-in specs.<br>COLLECT_GCC=/usr/local/bin/egcc<br>COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-openbsd5.6/4.8.3/lto-wrapper<br>Target: x86_64-unknown-openbsd5.6<br>Configured with: /usr/obj/gcc-4.8.3/gcc-4.8.3/configure --enable-libgcj <br>--without-jar --verbose --program-transform-name='s,^,e,' --disable-nls <br>--disable-checking --with-system-zlib --disable-libmudflap <br>--disable-libgomp --disable-tls --with-as=/usr/bin/as <br>--with-ld=/usr/bin/ld --with-gnu-ld --with-gnu-as --enable-threads=posix <br>--enable-wchar_t --with-gmp=/usr/local <br>--enable-languages=c,c++,fortran,objc,java,ada --disable-libstdcxx-pch <br>--enable-cpp --enable-shared --prefix=/usr/local --sysconfdir=/etc <br>--mandir=/usr/local/man --infodir=/usr/local/info --localstatedir=/var <br>--disable-silent-rules<br>Thread model: posix<br>gcc version 4.8.3 (GCC)<br><br>Some further oddities:<br>$ BIN/pdp10<br><br>PDP-10 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>sim> quit<br>Goodbye<br>$ BIN/pdp7<br><br>PDP-7 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>BIN/pdp7:/usr/lib/libncurses.so.14.0: BIN/pdp7 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>BIN/pdp7:/usr/lib/libreadline.so.4.0: BIN/pdp7 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>sim><br>PDP-11 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>sim> quit<br>Goodbye<br>$ BIN/pdp1<br><br>PDP-1 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>BIN/pdp1:/usr/lib/libncurses.so.14.0: BIN/pdp1 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>BIN/pdp1:/usr/lib/libreadline.so.4.0: BIN/pdp1 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>sim> quit<br>Goodbye<br>$ BIN/pdp8<br><br>PDP-8 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>sim> quit<br>Goodbye<br>$ BIN/pdp4<br><br>PDP-4 simulator V4.0-0 Beta        git commit id: a0c7f99a<br>BIN/pdp4:/usr/lib/libncurses.so.14.0: BIN/pdp4 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>BIN/pdp4:/usr/lib/libreadline.so.4.0: BIN/pdp4 : WARNING: symbol(PC) size <br>mismatch, relink your program<br>sim> quit<br>Goodbye<br><br>-- <br>Cory Smelosky<br>http://gewt.net Personal stuff<br>http://gimme-sympathy.org Projects<br>_______________________________________________<br>Simh mailing list<br>Simh@trailing-edge.com<br>http://mailman.trailing-edge.com/mailman/listinfo/simh</body>