Ticket #662 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

openocd FTBF on big endian machines

Reported by: thebohemian@… Owned by: mickey@…
Priority: high Milestone:
Component: Applications & Dependencies Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


openocd cannot be built on big endian machines because some endiannes conversion
macros are missing brackets. I am attaching a patch that fixes that.


om-openocd-fix-endianness-conversion-macro.diff (535 bytes) - added by thebohemian@… 12 years ago.
fix for bug

Change History

Changed 12 years ago by thebohemian@…

fix for bug

comment:1 Changed 12 years ago by stefan@…

As OpenOCD is not a software written by OpenMoko? but an upstream project I would
ask you to file a bug in the upstream bugzilla.

This one can be stay open until it gets fixed upstream and we use the fixed version.


comment:2 Changed 12 years ago by thebohemian@…

Bug is already fixed upstream so only OM builds are affected:

comment:3 Changed 12 years ago by stefan@…

As we droped our overlay now and use OE.dev directly you should be able to build
the latest version without a problem.

I just build an openocd-native from svnr 201 successfully. Can you build and try
it again, so we have a positive report about using it on Big endian machines?

comment:4 Changed 11 years ago by mickey@…

  • Status changed from new to closed
  • Resolution set to fixed

Assuming it's fixed by now. Robert?

comment:5 Changed 11 years ago by thebohemian@…

SVN rev 201 builds fine on PPC.

Note: See TracTickets for help on using tickets.