* [patch] libjava/classpath configure update for FreeBSD 10 and up
@ 2011-11-28 19:45 Andreas Tobler
2011-11-29 20:15 ` Andreas Tobler
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Tobler @ 2011-11-28 19:45 UTC (permalink / raw)
To: GCC Patches, Java Patches
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
All,
I'd like to commit the attached patch to trunk and gcc-4.6.
It is a follow up from this one:
http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
I missed this one because in my setup I didn't build any shared
libraries from classpath. The config.rpath patch is already sent to
classpath.
Any objections to this patch?
Otherwise I'm going to commit within 24h.
TIA,
Andreas
libjava/classpath/ChangeLog.gcj:
2011-11-28 Andreas Tobler <andreast@fgznet.ch>
* config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
(libname_spec): Likewise.
* configure: Regenerate with autoconf -I ../../.
[-- Attachment #2: cp_config_head.diff --]
[-- Type: text/plain, Size: 2033 bytes --]
Index: configure
===================================================================
--- configure (revision 181783)
+++ configure (working copy)
@@ -10025,7 +10025,7 @@
;;
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
- freebsd2*)
+ freebsd2.*)
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
hardcode_direct=yes
hardcode_minus_L=yes
@@ -10941,7 +10941,7 @@
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[123]*) objformat=aout ;;
+ freebsd[23].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -10959,7 +10959,7 @@
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
@@ -14225,7 +14225,7 @@
esac
;;
- freebsd[12]*)
+ freebsd2.*)
# C++ shared libraries reported to be fairly broken before
# switch to ELF
ld_shlibs_CXX=no
@@ -16000,7 +16000,7 @@
objformat=`/usr/bin/objformat`
else
case $host_os in
- freebsd[123]*) objformat=aout ;;
+ freebsd[23].*) objformat=aout ;;
*) objformat=elf ;;
esac
fi
@@ -16018,7 +16018,7 @@
esac
shlibpath_var=LD_LIBRARY_PATH
case $host_os in
- freebsd2*)
+ freebsd2.*)
shlibpath_overrides_runpath=yes
;;
freebsd3.[01]* | freebsdelf3.[01]*)
Index: config.rpath
===================================================================
--- config.rpath (revision 181783)
+++ config.rpath (working copy)
@@ -361,7 +361,7 @@
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
- freebsd2*)
+ freebsd2.*)
hardcode_direct=yes
hardcode_minus_L=yes
;;
@@ -533,7 +533,7 @@
;;
freebsd* | dragonfly*)
case "$host_os" in
- freebsd[123]*)
+ freebsd[23].*)
library_names_spec='$libname$shrext$versuffix' ;;
*)
library_names_spec='$libname$shrext' ;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] libjava/classpath configure update for FreeBSD 10 and up
2011-11-28 19:45 [patch] libjava/classpath configure update for FreeBSD 10 and up Andreas Tobler
@ 2011-11-29 20:15 ` Andreas Tobler
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Tobler @ 2011-11-29 20:15 UTC (permalink / raw)
To: GCC Patches, Java Patches, Gerald Pfeifer
On 28.11.11 20:45, Andreas Tobler wrote:
> All,
>
> I'd like to commit the attached patch to trunk and gcc-4.6.
> It is a follow up from this one:
>
> http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg00886.html
>
> I missed this one because in my setup I didn't build any shared
> libraries from classpath. The config.rpath patch is already sent to
> classpath.
>
> Any objections to this patch?
>
> Otherwise I'm going to commit within 24h.
Committed:
http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg01110.html
http://gcc.gnu.org/ml/gcc-cvs/2011-11/msg01111.html
Andreas
> TIA,
> Andreas
>
> libjava/classpath/ChangeLog.gcj:
>
> 2011-11-28 Andreas Tobler<andreast@fgznet.ch>
>
> * config.rpath (ld_shlibs): Fix detection of FreeBSD-10 and up.
> (libname_spec): Likewise.
> * configure: Regenerate with autoconf -I ../../.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-29 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 19:45 [patch] libjava/classpath configure update for FreeBSD 10 and up Andreas Tobler
2011-11-29 20:15 ` Andreas Tobler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).