[Home]

Summary:ASTERISK-11522: Build fails on PPC64
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2008-02-26 22:38:13.000-0600Date Closed:2008-02-27 18:07:58.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-1.4.18-funcdesc.patch
( 1) asterisk-1.6.0-beta4-funcdesc.patch
Description:Build of Asterisk fails on PPC64 because build_tools/strip_nonapi uses "nm" to get a list of symbols out of the asterisk binary.  However, the output of "nm" on PPC64 is different from the output on other platforms.  The problem is especially difficult to diagnose because the invocation of build_tools/strip_nonapi is unconditionally hidden.  I'll be attaching a patch developed by David Woodhouse that fixes both of these problems.
Comments:By: Jeffrey C. Ollie (jcollie) 2008-02-26 22:44:55.000-0600

On second thought I'm just going to link to David's patch since by uploading the patch I would be asserting that I wrote the patch which isn't true.  David's patch can be found here:

http://david.woodhou.se/asterisk-1.6.0-beta4-funcdesc.patch

The original Fedora bug report can be found here:

https://bugzilla.redhat.com/show_bug.cgi?id=435035

As indicated in the Fedora bug report, David Woodhouse should have a disclaimer on file...

By: Jared Smith (jsmith) 2008-02-27 08:52:41.000-0600

I'm not sure the patch is substantial enough to require a disclaimer (I personally don't think it is), but if so David mentioned in the bugzilla report (shown above) that he does have a signed disclaimer, FWIW.

By: Tilghman Lesher (tilghman) 2008-02-27 10:50:28.000-0600

If David wants to submit that patch, he should do so.  The policy is there for a reason.

By: Jeffrey C. Ollie (jcollie) 2008-02-27 14:25:57.000-0600

I've uploaded the patch.

By: Jeffrey C. Ollie (jcollie) 2008-02-27 16:09:49.000-0600

Uploaded a backport of the patch to 1.4.18.

By: Digium Subversion (svnbot) 2008-02-27 18:01:33.000-0600

Repository: asterisk
Revision: 104868

U   branches/1.4/build_tools/strip_nonapi
U   branches/1.4/main/Makefile

------------------------------------------------------------------------
r104868 | tilghman | 2008-02-27 18:01:32 -0600 (Wed, 27 Feb 2008) | 7 lines

Compatibility fix for PPC64
(closes issue ASTERISK-11522)
Reported by: jcollie
Patches:
      asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412)
Tested by: jcollie, Corydon76

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=104868

By: Digium Subversion (svnbot) 2008-02-27 18:07:58.000-0600

Repository: asterisk
Revision: 104869

_U  trunk/
U   trunk/build_tools/strip_nonapi
U   trunk/main/Makefile

------------------------------------------------------------------------
r104869 | tilghman | 2008-02-27 18:07:57 -0600 (Wed, 27 Feb 2008) | 15 lines

Merged revisions 104868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104868 | tilghman | 2008-02-27 18:05:06 -0600 (Wed, 27 Feb 2008) | 7 lines

Compatibility fix for PPC64
(closes issue ASTERISK-11522)
Reported by: jcollie
Patches:
      asterisk-1.4.18-funcdesc.patch uploaded by jcollie (license 412)
Tested by: jcollie, Corydon76

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=104869