FTBFS with --as-needed

Bug #811501 reported by Dave Walker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simh (Debian)
Fix Released
Unknown
simh (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -lrt -D_GNU_SOURCE -I . PDP1/pdp1_lp.c PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c PDP1/pdp1_dt.c PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I PDP1/ -o pdp1 -Wl,-Bsymbolic-functions
scp.c: In function 'spawn_cmd':
scp.c:783:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
sim_console.c: In function 'sim_os_putchar':
sim_console.c:1176:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
sim_console.c: In function 'sim_ttcmd':
sim_console.c:1146:10: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
sim_console.c: In function 'sim_ttrun':
sim_console.c:1134:10: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result]
/tmp/ccuh1UiT.o: In function `drm':
/build/buildd/simh-3.8.1/PDP1/pdp1_drm.c:257: undefined reference to `fmod'
/build/buildd/simh-3.8.1/PDP1/pdp1_drm.c:236: undefined reference to `fmod'
/build/buildd/simh-3.8.1/PDP1/pdp1_drm.c:205: undefined reference to `fmod'
/build/buildd/simh-3.8.1/PDP1/pdp1_drm.c:246: undefined reference to `fmod'
/tmp/ccVOQckp.o: In function `sim_os_ms_sleep_init':
/build/buildd/simh-3.8.1/sim_timer.c:306: undefined reference to `clock_getres'
collect2: ld returned 1 exit status
make[1]: *** [pdp1] Error 1
make[1]: Leaving directory `/build/buildd/simh-3.8.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simh - 3.8.1-3ubuntu1

---------------
simh (3.8.1-3ubuntu1) oneiric; urgency=low

  * makefile: Add ${LIBS} resolving FTBFS when --as-needed is used.
    - (LP: #811501)
 -- Dave Walker (Daviey) <email address hidden> Sat, 16 Jul 2011 13:47:13 +0100

Changed in simh (Ubuntu):
status: New → Fix Released
Changed in simh (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.