Bug 154927 - Update lang/llvm-gcc4 with FreeBSD specific patches
Summary: Update lang/llvm-gcc4 with FreeBSD specific patches
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: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 03:20 UTC by Pedro F. Giffuni
Modified: 2011-04-29 16:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.49 KB, patch)
2011-02-21 03:20 UTC, Pedro F. Giffuni
no flags Details | Diff
patch-llvm-gcc4.txt (3.54 KB, patch)
2011-04-10 02:50 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2011-02-21 03:20:08 UTC
Add two minor patches from our base distribution that are unlikely to be accepted upstream.

SVN Revision 181538
Make -fno-math-errno the default. Our libm doesn't support the SysV
mistake of setting errno, and never has.  This will need to be fixed
upstream in a more generic way, but the changes are somewhat more
involved.

SVN Revision 198344
Change gcc to assume a default machine architecture of 486 instead of 386
on "i386".  Doing it in the compiler is deemed to be less fragile then
attempting to provide a default -march setting via bsd.cpu.mk.  FreeBSD
itself has not supported plain 386 CPUs since 5.x.

Fix: Patch attached.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-02-21 03:20:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->brooks

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pedro F. Giffuni 2011-04-10 02:50:10 UTC
Add some more patches from FreeBSD's base compiler.
(Tested to work with llvm-gcc4-2.9 too)

Unfortunately this, and some other patches, didn't
make it into the last llvm-gcc4 release.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-04-29 16:04:40 UTC
brooks      2011-04-29 15:04:30 UTC

  FreeBSD ports repository

  Modified files:
    devel/llvm           Makefile distinfo pkg-plist 
    lang/clang           Makefile distinfo pkg-plist 
    lang/llvm-gcc4       Makefile distinfo 
  Added files:
    lang/llvm-gcc4/files patch-.._gcc_common.opt 
                         patch-.._gcc_config.gcc 
                         patch-.._gcc_config_i386_i386.c 
                         patch-.._gcc_gthr-posix.h 
  Removed files:
    devel/llvm/files     patch-Makefile 
                         patch-lib_Target_X86_X86ISelLowering.cpp 
    lang/clang/files     patch-Makefile patch-tools_clang_Makefile 
  Log:
  Upgrade LLVM, Clang, and llvm-gcc to 2.9.
  
  Add a number of bug fixes from our base gcc to llvm-gcc.[0]
  
  PR:             ports/154927 [0]
  Submitted by:   Pedro Giffuni <giffunip at tutopia com> [0]
  
  Revision  Changes    Path
  1.44      +6 -10     ports/devel/llvm/Makefile
  1.16      +2 -2      ports/devel/llvm/distinfo
  1.4       +0 -11     ports/devel/llvm/files/patch-Makefile (dead)
  1.2       +0 -27     ports/devel/llvm/files/patch-lib_Target_X86_X86ISelLowering.cpp (dead)
  1.18      +77 -52    ports/devel/llvm/pkg-plist
  1.15      +4 -9      ports/lang/clang/Makefile
  1.5       +4 -6      ports/lang/clang/distinfo
  1.3       +0 -14     ports/lang/clang/files/patch-Makefile (dead)
  1.3       +0 -14     ports/lang/clang/files/patch-tools_clang_Makefile (dead)
  1.8       +72 -90    ports/lang/clang/pkg-plist
  1.22      +1 -1      ports/lang/llvm-gcc4/Makefile
  1.10      +2 -3      ports/lang/llvm-gcc4/distinfo
  1.1       +16 -0     ports/lang/llvm-gcc4/files/patch-.._gcc_common.opt (new)
  1.1       +31 -0     ports/lang/llvm-gcc4/files/patch-.._gcc_config.gcc (new)
  1.1       +11 -0     ports/lang/llvm-gcc4/files/patch-.._gcc_config_i386_i386.c (new)
  1.1       +35 -0     ports/lang/llvm-gcc4/files/patch-.._gcc_gthr-posix.h (new)
_______________________________________________
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 4 Brooks Davis freebsd_committer freebsd_triage 2011-04-29 16:06:10 UTC
State Changed
From-To: open->closed

Committed.  Thanks! 

Sorry for taking so long on this.