Bug 159773 - security/nettle fails to compile on i386 with clang
Summary: security/nettle fails to compile on i386 with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-14 22:00 UTC by Rene Ladan
Modified: 2011-08-18 09:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer 2011-08-14 22:00:16 UTC
security/nettle builds fine with clang on amd64 but fails on i386 because clang cannot decide on the size of a 'sub' instruction.

i386-tinderbox log at http://rene-ladan.nl:8080/tb/errors/9-FreeBSD-clang/nettle-2.2.log

Fix: 

Instruct clang to use the correct variant of the 'sub' instruction.
How-To-Repeat: Try to build security/nettle on i386 with CC=clang and CXX=clang++
Comment 1 Edwin Groothuis freebsd_committer 2011-08-14 22:00:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-08-18 09:40:06 UTC
johans      2011-08-18 08:39:56 UTC

  FreeBSD ports repository

  Modified files:
    security/nettle      Makefile 
  Log:
  Fix nettle build with clang on i386: correct assembly
  
  PR:             ports/159773
  Submitted by:   rene
  
  Revision  Changes    Path
  1.31      +4 -0      ports/security/nettle/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Johan van Selst freebsd_committer 2011-08-18 09:40:11 UTC
State Changed
From-To: open->closed

Fixed. Thanks for the report.