Ticket #4 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Fails to build on mips and mipsel machines

Reported by: Sjoerd Simons <sjoerd@luon.net> Assigned to: somebody
Priority: major Milestone: Avahi 0.6.10
Component: component1 Version:
Keywords: Cc:

Description

Hi,

On mips and mipsel the gcc -pthread switch doesn't link in the pthreads lib when building a shared library. See for example the output of a mips build of avahi:

http://buildd.debian.org/fetch.php?&pkg=avahi&ver=0.6.4-1&arch=mips&stamp=1137509680&file=log&as=raw

For more information see the discussion at: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=273671

This can be fixed by having acx_pthread do some extra checking. Patch attached..

Attachments

pthread_flags.patch (4.1 kB) - added by Sjoerd Simons on 01/22/06 20:24:09.
Do some extra checking at configure time for the pthread flags

Change History

01/22/06 20:24:09 changed by Sjoerd Simons

  • attachment pthread_flags.patch added.

Do some extra checking at configure time for the pthread flags

01/22/06 22:03:07 changed by lennart

I guess it makes sense to file a bug on Debian's "autoconf-archive" package, too, since our acx_pthread.m4 is a 1:1 copy of their script.

I will merge this now, anyway.

01/22/06 22:11:51 changed by lennart

  • status changed from new to closed.
  • resolution set to fixed.

Applied in r1101, thank you!

03/06/06 16:59:40 changed by Sjoerd Simons <sjoerd@luon.net>

  • status changed from closed to reopened.
  • resolution deleted.

The patch was undone in svn revision 1160.. I'll send the patch to the automake archive too, so this hopefully won't happen again :)

03/09/06 17:48:05 changed by anonymous

  • status changed from reopened to closed.
  • resolution set to fixed.

03/10/06 23:50:18 changed by sebest

  • milestone set to Avahi 0.6.10.