Bug 159773

Summary: security/nettle fails to compile on i386 with clang
Product: Ports & Packages Reporter: Rene Ladan <rene>
Component: Individual Port(s)Assignee: Johan van Selst <johans>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rene Ladan freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 freebsd_triage 2011-08-18 09:40:11 UTC
State Changed
From-To: open->closed

Fixed. Thanks for the report.