Bug 81788 - make of /usr/ports/lang/gcc41
Summary: make of /usr/ports/lang/gcc41
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: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-02 02:20 UTC by Graham.Hall
Modified: 2011-02-06 01:10 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 Graham.Hall 2005-06-02 02:20:01 UTC
	Doing a build of /usr/ports/lang/gcc41 gives the following error:

	....
	creating libgij.la
	(cd .libs && rm -f libgij.la && ln -s ../libgij.la libgij.la)
	/bin/sh ./libtool --tag=GCJ --mode=link /work1/usr/ports/lang/gcc41/work/build/./gcc/gcj -B/work1/usr/ports/lang/gcc41/work/build/./gcc/ -B/usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/bin/ -B/usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/lib/ -isystem /usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/include -isystem /usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/sys-include -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava -ffloat-store -fno-omit-frame-pointer -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/install/gcc-4.1.0/lib -shared-libgcc -pthread  -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava/.libs libgcj.la
	/work1/usr/ports/lang/gcc41/work/build/./gcc/gcj -B/work1/usr/ports/lang/gcc41/work/build/./gcc/ -B/usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/bin/ -B/usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/lib/ -isystem /usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/include -isystem /usr/local/install/gcc-4.1.0/i386-portbld-freebsd4.8/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -pthread  -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava/.libs ./.libs/libgcj.a -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libstdc++-v3/src -L/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libstdc++-v3/src/.libs -lz -L/work1/usr/ports/lang/gcc41/work/build/./gcc -lgcc -lgcc -Wl,--rpath -Wl,/usr/local/install/gcc-4.1.0/lib
	/usr/libexec/elf/ld: unrecognized option '-Wl,-rpath'
	/usr/libexec/elf/ld: use the --help option for usage information
	collect2: ld returned 1 exit status
	gmake[3]: *** [jv-convert] Error 1
	gmake[3]: Leaving directory `/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava'
	gmake[2]: *** [all-recursive] Error 1
	gmake[2]: Leaving directory `/work1/usr/ports/lang/gcc41/work/build/i386-portbld-freebsd4.8/libjava'
	gmake[1]: *** [all-target-libjava] Error 2
	gmake[1]: Leaving directory `/work1/usr/ports/lang/gcc41/work/build'
	gmake: *** [bootstrap-lean] Error 2
	*** Error code 2

Fix: 

None known
How-To-Repeat: 	cd /usr/ports/lang/gcc41 && sudo make PREFIX=/usr/local/install/gcc-4.1.0
Comment 1 Simon Barner freebsd_committer freebsd_triage 2005-06-02 09:49:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to our ports gcc maintainer.
Comment 2 Gerald Pfeifer freebsd_committer freebsd_triage 2005-06-03 00:01:08 UTC
State Changed
From-To: open->closed

This does not appear on my test systems, but I have seen reports on 4.x 
and 5.4 and thus will shortly commit a patch to disable building libgcj 
(as was the case until recently) until we've been able to root cause this.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-02-06 01:07:05 UTC
gerald      2011-02-06 01:07:01 UTC

  FreeBSD ports repository

  Modified files:
    lang/gcc46           Makefile distinfo 
  Log:
  Update to the 20110205 snapshot of GCC 4.6.0.  This finally addresses
  a long standing issue around libgcj that's been hitting us and allows
  me to remove the stop gap I had put in place years ago. [1]
  
  PR:             81788 [1]
  Feature safe:   yes
  
  Revision  Changes    Path
  1.476     +1 -4      ports/lang/gcc46/Makefile
  1.343     +10 -10    ports/lang/gcc46/distinfo
_______________________________________________
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"