[HECnet] Trying to build SIMH from git (on OpenIndiana)

Mark Pizzolato - Info Comm Mark at infocomm.com
Wed Mar 13 13:58:36 PDT 2013


On Wednesday, March 13, 2013 at 1:21 PM, Cory Smelosky wrote:
bash-3.2$ gmake vax
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/local/lib/libpcap.a /usr/local/include/pcap.h
*** Warning ***
*** Warning *** vax Simulator being built with networking support using
*** Warning *** libpcap components from www.tcpdump.org.
*** Warning *** Some users have had problems using the
www.tcpdump.org libpcap
*** Warning *** components for simh networking.   For best results, with
*** Warning *** simh networking, it is recommended that you install the
*** Warning *** libpcap-dev package from your Solaris distribution
*** Warning ***
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. GCC Version: 4.6.3.
*** - networking support using libpcap components from
www.tcpdump.org.
***
mkdir -p BIN
gcc -std=c99 -U__STRICT_ANSI__   -O2 -finline-functions -fgcse-after-reload -
fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-
strict-overflow -flto -fwhole-program -Wno-unused-result   -I . -
D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO   -
DHAVE_DLOPEN=so   sim_BuildROMs.c -o BIN/BuildROMs
ld: fatal: auxiliary filter option (-f, --auxiliary) is only available when building a
shared object
ld: fatal: flags processing errors

Modification to makefile is to remove -flto -fwhole-program. Then it builds
fine. ;)

I'd like to get this to work without any modifications to the makefile.

Can you send the output of the following:

      $ gcc   --help=optimizers
      $ gcc   -v --help
      $ gcc   -v /dev/null

Thanks.

- Mark



More information about the Hecnet-list mailing list