Thanks for the ticket.
Please check https://review.openocd.org/c/openocd/+/8682
Our autobuild failed to detect the issue because other drivers requiring 
bitbang code were included, hiding the broken dependency of 'dummy' adapter.


---

**[tickets:#446] New compile error in debian docker container**

**Status:** new
**Milestone:** 0.11.0
**Created:** Tue Dec 31, 2024 05:29 AM UTC by Jonathan Forrest
**Last Updated:** Tue Dec 31, 2024 09:05 AM UTC
**Owner:** nobody


Hi,
I am currently building OpenOCD in a fairly standard debian docker container. I 
am building the latest master rather than using 0.12.0 to get various bug fixes 
and updates.
It was all working fine a couple of days ago (20th December 13:12 UTC).
However, the next build after that (22nd December 02:49 UTC) had the following:

~~~
 > [stage-0 21/28] RUN ./bootstrap &&     ./configure &&     make &&     make 
 > install:
src/.libs/libopenocd.a(libocdjtagdrivers_la-dummy.o): in function `dummy_init':
/openocd/openocd/src/jtag/drivers/dummy.c:112: undefined reference to 
`bitbang_interface'
/usr/bin/ld: 
src/.libs/libopenocd.a(libocdjtagdrivers_la-dummy.o):(.data.rel+0x98): 
undefined reference to `bitbang_execute_queue'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3219: src/openocd] Error 1
make[2]: Leaving directory '/openocd/openocd'
make[1]: *** [Makefile:4980: all-recursive] Error 1
make[1]: Leaving directory '/openocd/openocd'
make: *** [Makefile:2135: all] Error 2
~~~

I'm not sure if something has changed in openocd in between those times ?


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to