[ntp:bugs] [Bug 1844] New: ntpd is broken on NetBSD - no shared libraries

bugzilla-daemon at ntp.org bugzilla-daemon at ntp.org
Sun Mar 6 18:00:41 UTC 2011


https://bugs.ntp.org/show_bug.cgi?id=1844

           Summary: ntpd is broken on NetBSD - no shared libraries
           Product: ntp
           Version: 4.2.7
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: ntpd
        AssignedTo: stenn at ntp.org
        ReportedBy: murray at ntp.org
                CC: bugs at ntp.org
   Estimated Hours: 0.0


bob$ gdb ntpd/ntpd
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsdelf"...
(gdb) run
Starting program: /home/murray/ntp/ntp-dev/ntpd/ntpd 
warning: no shared library support for this OS / ABI

Program exited with code 0140.
(gdb) 

It was working a while ago.  I'll do a binary search on the tarballs if needed.

Here is the load command from make -n ntpd on ntp-dev:
rm -f ntpd
echo "  CCLD  " ntpd;/bin/ksh ../libtool --silent --tag=CC    --mode=link gcc
-ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual
-Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self  -Wstrict-prototypes
-g -O2    -o ntpd ntp_config.o ntp_io.o  ntp_parser.o ntp_scanner.o ntpd.o 
ntpd-opts.o  version.o libntpd.a  ../libntp/libntp.a -Wl,--gc-sections 
../sntp/libopts/libopts.la   -lm   -lkvm -lrt


This is from ntp-stable which works:
rm -f ntpd
/bin/ksh ../libtool --tag=CC    --mode=link gcc -std=gnu99  -g -O2 -Wall
-Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self
-Wno-strict-prototypes    -o ntpd cmd_args.o ntp_config.o 
ntp_data_structures.o ntp_io.o  ntp_parser.o ntp_scanner.o ntpd.o  ntpd-opts.o 
version.o libntpd.a ../sntp/libopts/libopts.la ../libntp/libntp.a -lm -lcrypto
-lkvm -lrt

-- 
Configure bugmail: https://bugs.ntp.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the bugs mailing list