@ -1,35 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/binutils-cross/binutils-cross.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1053756569 Sat May 24 08:09:29 2003 |
|||
[CONFIG-ID] 2.0.0-beta4-x86-athlon-reference |
|||
[ROCKVER] 2.0.0-beta4 |
|||
|
|||
[LOGS] 0-binutils.log 1-binutils.log 2-binutils.log 5-binutils.log 9-binutils.log |
|||
|
|||
[BUILDTIME] 14667 (9) |
|||
[SIZE] 15.80 MB, 214 files |
|||
|
|||
[DEP] autoconf automake bash binutils bison bzip2 coreutils diffutils |
|||
[DEP] findutils flex gawk gcc3 gettext glibc23 grep linux24-header m4 |
|||
[DEP] make mktemp net-tools patch perl5 sed sysfiles tar texinfo |
|||
|
|||
@ -1,31 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/binutils-cross/binutils-cross.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# include the cross configuration |
|||
. $base/package/base/gcc3-cross/cross.conf |
|||
|
|||
# always append the cross arch as program prefix |
|||
var_append confopt " " "--program-prefix=${arch_target}-" |
|||
|
|||
# do the same as binutils |
|||
. $base/package/base/binutils/binutils.conf |
|||
|
|||
@ -1,41 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/binutils-cross/binutils-cross.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] A GNU collection of binary utilities |
|||
|
|||
[T] These are the GNU binutils. These are utilities of use when dealing |
|||
[T] with object files. |
|||
|
|||
[U] http://www.gnu.org/software/binutils/binutils.html |
|||
|
|||
[A] The GNU Project <gnu@gnu.org> |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] DIETLIBC |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.14.90.0.7 |
|||
[P] O 012--5---9 101.100 |
|||
|
|||
@ -1,36 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc2/gcc2.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1087211982 Mon Jun 14 13:19:42 2004 |
|||
[CONFIG-ID] 2.1.0-DEV-x86-reference-expert |
|||
[ROCKVER] 2.1.0-DEV |
|||
|
|||
[LOGS] 2-gcc2.log 5-gcc2.log 9-gcc2.log |
|||
|
|||
[BUILDTIME] 40892 (9) |
|||
[SIZE] 18.78 MB, 319 files |
|||
|
|||
[DEP] 00-dirtree autoconf automake bash binutils bzip2 ccache |
|||
[DEP] coreutils diffutils findutils flex gawk gcc3 gettext glibc23 grep |
|||
[DEP] linux24-header make mktemp ncurses net-tools patch perl5 sed sysfiles |
|||
[DEP] tar tetex texinfo |
|||
|
|||
@ -1,23 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc2/gcc2.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
. $base/package/base/gcc3/gcc3.conf |
|||
@ -1,51 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc2/gcc2.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU Compiler Collection Version 2.95 (aka GNU C Compiler) |
|||
|
|||
[T] This package contains the GNU Compiler Collection. It includes compilers |
|||
[T] for the languages C, C++, Objective C, Fortran 77, Java and others ... |
|||
[T] |
|||
[T] This GCC contains the Stack-Smashing Protector Patch which can be enabled |
|||
[T] with the -fstack-protector command-line option. More information about it |
|||
[T] ca be found at http://www.research.ibm.com/trl/projects/security/ssp/ . |
|||
|
|||
[U] http://gcc.gnu.org/ The GCC Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] CC CXX KCC F77 |
|||
[R] - mips ia64 |
|||
|
|||
[E] group compiler |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.95.3 |
|||
[P] X 012--5---9 102.200 |
|||
|
|||
[D] 354985877 gcc-2.95.3.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-2.95.3/ |
|||
[D] 2603145003 protector-2.95.3-23.tar.gz http://www.research.ibm.com/trl/projects/security/ssp/gcc2_95_3/ |
|||
|
|||
@ -1,35 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc2/gcc33_support.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./gcc/ch/loop.c.orig 2003-08-03 12:26:04.000000000 -0400
|
|||
+++ ./gcc/ch/loop.c 2003-08-03 12:28:30.000000000 -0400
|
|||
@@ -318,8 +318,8 @@
|
|||
(associated with all iterators). |
|||
|
|||
NOTE: Z.200, section 10.1 says that a block is ... |
|||
- "the actions statement list in a do action, including any
|
|||
- loop counter and while control". This means that an exp-
|
|||
+ the actions statement list in a do action, including any
|
|||
+ loop counter and while control. This means that an exp-
|
|||
ression in a WHILE control can include references to the |
|||
loop counters created for the loop''s exclusive use. |
|||
Example: |
|||
@ -1,35 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc2/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-01-07 09:16:57.000000000 +0100
|
|||
+++ ./libiberty/Makefile.in 2003-01-07 09:17:19.000000000 +0100
|
|||
@@ -148,10 +148,6 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n
|
|||
- ( cd $(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB).n )
|
|||
- mv -f $(libdir)$(MULTISUBDIR)/$(TARGETLIB).n $(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
- @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|||
|
|||
install_to_tooldir: all |
|||
$(INSTALL_DATA) $(TARGETLIB) $(tooldir)/lib$(MULTISUBDIR)/$(TARGETLIB).n |
|||
@ -1,74 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc2/protector-docs.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Add documentation (man and info) to protector.patch. |
|||
|
|||
--- ./gcc/gcc.1.orig Tue Oct 16 08:19:36 2001
|
|||
+++ ./gcc/gcc.1 Tue Oct 16 08:27:46 2001
|
|||
@@ -515,6 +515,7 @@
|
|||
\-fshared\-data |
|||
\-fshort\-enums |
|||
\-fshort\-double |
|||
+\-fstack\-protector
|
|||
\-fvolatile |
|||
\-fvolatile\-global |
|||
\-fverbose\-asm |
|||
@@ -3856,6 +3857,12 @@
|
|||
.B no\-\c |
|||
\&\|' or adding |
|||
it. |
|||
+.TP
|
|||
+.B \-fstack\-protector
|
|||
+Enable the Stack-Smashing Protector (
|
|||
+.B http://www.trl.ibm.com/projects/security/ssp/
|
|||
+). This option is only available in ROCK Linux (and probably
|
|||
+some other distributions). It's not a standard GCC option.
|
|||
.TP |
|||
.B \-fnonnull\-objects |
|||
Assume that objects reached through references are not null |
|||
--- ./gcc/invoke.texi.orig Tue Oct 16 08:38:25 2001
|
|||
+++ ./gcc/invoke.texi Tue Oct 16 08:38:17 2001
|
|||
@@ -421,8 +421,8 @@
|
|||
-fno-common -fno-ident -fno-gnu-linker |
|||
-fpcc-struct-return -fpic -fPIC |
|||
-freg-struct-return -fshared-data -fshort-enums |
|||
--fshort-double -fvolatile -fvolatile-global -fvolatile-static
|
|||
--fverbose-asm -fpack-struct -fstack-check
|
|||
+-fshort-double -fstack-protector -fvolatile -fvolatile-global
|
|||
+-fvolatile-static -fverbose-asm -fpack-struct -fstack-check
|
|||
-fargument-alias -fargument-noalias |
|||
-fargument-noalias-global |
|||
-fleading-underscore |
|||
@@ -6147,6 +6147,12 @@
|
|||
it. |
|||
|
|||
@table @code |
|||
+@item -fstack-protector
|
|||
+Enable the Stack-Smashing Protector
|
|||
+(http://www.trl.ibm.com/projects/security/ssp/).
|
|||
+This option is only available in ROCK Linux (and probably
|
|||
+some other distributions). It's not a standard GCC option.
|
|||
+
|
|||
@item -fexceptions |
|||
Enable exception handling. Generates extra code needed to propagate |
|||
exceptions. For some targets, this implies generation of frame unwind |
|||
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3-cross/config-300.hlp |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
MENU_PKG_CROSSCC |
|||
This menu inclues the options for a possible cross-compiler. |
|||
|
|||
ROCKCFG_PKG_CROSSCC |
|||
Select this options to compile a cross-compiler in addition to the |
|||
normal compiler packages. (E.g. if you want to develop for embedded |
|||
devices.) |
|||
|
|||
ROCKCFG_PKG_CROSSCC_ARCH_TARGET |
|||
The target architecture for the cross-compiler. This need to be a valid |
|||
definition supported by GCC ... |
|||
@ -1,34 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3-cross/config-300.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
menu_begin MENU_PKG_CROSSCC 'Cross Compiler Options' |
|||
bool 'Build a GCC based cross compiler' \ |
|||
ROCKCFG_PKG_CROSSCC 0 |
|||
|
|||
if [ "$ROCKCFG_PKG_CROSSCC" = 1 ] ; then |
|||
pkgenable linux24-header-cross glibc23-cross binutils-cross gcc3-cross |
|||
text 'Target architecture' ROCKCFG_PKG_CROSSCC_ARCH_TARGET \ |
|||
'arm-linux-gnu' |
|||
fi |
|||
|
|||
menu_end |
|||
|
|||
@ -1,57 +0,0 @@ |
|||
|
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3-cross/cross.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# common prefix if not used as stage0 cross-cross-compiler ... |
|||
if [ "$stagelevel" -gt 0 -a $prefix_auto = 1 ] ; then |
|||
if [ "$ROCKCFG_CROSS_PREFIX" ] ; then |
|||
prefix="$ROCKCFG_CROSS_PREFIX" |
|||
else |
|||
prefix="opt/cross-tools" |
|||
fi |
|||
set_confopt |
|||
fi |
|||
|
|||
archdir="${archdir/-cross/}" |
|||
realpkg="${pkg/-cross/}" |
|||
|
|||
# real package's download files |
|||
tag=D |
|||
tagdata="`egrep "^\[($tag)\]" $base/package/$repository/$realpkg/$realpkg.desc | \ |
|||
cut -f2- -d']' | sed 's,^ ,,'`" |
|||
tag="`echo $tag | cut -f1 -d'|' | tr - _`" |
|||
eval "desc_$tag=\"\$tagdata\"" |
|||
|
|||
patchfiles="$base/package/$repository/${pkg/-cross/}/*.patch" |
|||
|
|||
for x in $patchfiles ; do |
|||
[ -e $x ] || var_remove patchfiles $x |
|||
done |
|||
|
|||
arch_target="$ROCKCFG_PKG_CROSSCC_ARCH_TARGET" |
|||
arch_machine="${arch_target/-*/}" |
|||
|
|||
# # the gcc needs the target binutils during the compilation |
|||
# # but can not find it if they are installed in a extraordinary |
|||
# # location, like the one used for the stage0 build ... |
|||
# var_append PATH ':' "$root/$prefix/bin" |
|||
|
|||
@ -1,35 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc3-cross/gcc3-cross.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1053758178 Sat May 24 08:36:18 2003 |
|||
[CONFIG-ID] 2.0.0-beta4-x86-athlon-reference |
|||
[ROCKVER] 2.0.0-beta4 |
|||
|
|||
[LOGS] 0-gcc3.log 1-gcc3.log 2-gcc3.log 5-gcc3.log 9-gcc3.log |
|||
|
|||
[BUILDTIME] 128942 (9) |
|||
[SIZE] 58.96 MB, 1874 files |
|||
|
|||
[DEP] autoconf automake bash binutils bison bzip2 coreutils diffutils |
|||
[DEP] findutils gawk gcc3 gettext glibc23 grep linux24-header make mktemp |
|||
[DEP] net-tools patch perl5 sed sysfiles tar texinfo xfree86 |
|||
|
|||
@ -1,43 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3-cross/gcc3-cross.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# include the cross configuration |
|||
. $base/package/base/gcc3-cross/cross.conf |
|||
|
|||
gcc_cross_pi(){ |
|||
if [ $stagelevel = 0 ] ; then |
|||
mv -fv $root/$prefix/crosscc/* $root/$prefix/bin |
|||
rmdir $root/$prefix/crosscc |
|||
fi |
|||
} |
|||
|
|||
# do the same as gcc3 |
|||
. $base/package/base/gcc3/gcc3.conf |
|||
|
|||
# overwrite some confopt variables ... |
|||
confopt="--prefix=$root/$prefix --target=\$arch_target --host=\$arch_build \ |
|||
--disable-nls" |
|||
|
|||
# but always do a cross build and some postinstall adaptions ... |
|||
custmain="gcc_stage0" |
|||
hook_add postinstall 3 gcc_cross_pi |
|||
|
|||
@ -1,47 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc3-cross/gcc3-cross.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU Compiler Collection Version 3 (aka GNU C Compiler) |
|||
|
|||
[T] This package contains the GNU Compiler Collection. It includes compilers |
|||
[T] for the languages C, C++, Objective C, Fortran 77, Java and others ... |
|||
[T] |
|||
[T] This GCC contains the Stack-Smashing Protector Patch which can be enabled |
|||
[T] with the -fstack-protector command-line option. More information about it |
|||
[T] ca be found at http://www.research.ibm.com/trl/projects/security/ssp/ . |
|||
|
|||
[U] http://gcc.gnu.org/ The GCC Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] DIETLIBC KCC |
|||
|
|||
[E] group compiler |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.2.3 |
|||
[P] O 012--5---9 101.400 |
|||
|
|||
@ -1,20 +0,0 @@ |
|||
|
|||
# only try to apply protector if available |
|||
pfile=$( echo "$3" | grep protector | tr ' ' '\t' | tr -s '\t' | cut -f2 ) |
|||
if [ "$pfile" ] ; then |
|||
tar --use-compress-program=bzip2 \ |
|||
-xf $archdir/${pfile/.gz/.bz2} |
|||
|
|||
# Patch protector.dif a bit to apply against current gcc-3 |
|||
#[ $2 = gcc3 ] && patch -p1 < $1/package/base/$2/protector-hotfix.diff |
|||
|
|||
# be careful if you enable this, you have to respect $pkg. |
|||
# Set -fstack-protector as default? |
|||
# [ $ROCKCFG_PKG_GCC[23]_STACKPRO = 1 ] && patch -p0 < protectonly.dif |
|||
|
|||
patch -p0 < protector.dif |
|||
mv protector.{c,h} gcc/ |
|||
else |
|||
echo "No stack-protector available for $2 ..." |
|||
fi |
|||
|
|||
@ -1,47 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/config-300.hlp |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
MENU_COMPILER |
|||
Here you can choose which compiler to use for various tasks. |
|||
|
|||
ROCKCFG_DEFAULT_CC |
|||
The options controls the default compiler for C programs. |
|||
|
|||
ROCKCFG_DEFAULT_KCC |
|||
The options controls the default compiler for the kernel. |
|||
|
|||
ROCKCFG_DEFAULT_CXX |
|||
The options controls the default compiler for C++ programs. |
|||
|
|||
ROCKCFG_DEFAULT_F77 |
|||
The optiosn controls the default compiler Fortran-77 programs. |
|||
|
|||
ROCKCFG_PKG_GCC_STACKPRO |
|||
Please check here to use the GCC Stack Smashing Protector in all |
|||
gcc versions for which it is available. |
|||
This will help to prevent buffer overflows. |
|||
|
|||
ROCKCFG_PKG_GCC2_NO_CHILL |
|||
Please check here if you don't want to build the gcc2 CHILL compiler. |
|||
|
|||
ROCKCFG_PKG_GCC3_NO_JAVA |
|||
Please check here if you don't want to build the gcc3 JAVA compiler. |
|||
@ -1,127 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/config-300.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
menu_begin MENU_COMPILER 'Selecting compiler' |
|||
pkgout |
|||
default='' ; list='' |
|||
while read pkg ver ; do |
|||
default=${default:-$pkg} ; [ $pkg = gcc3 ] && default=gcc3 |
|||
list="$list $pkg Use_${pkg}_($ver)_as_standard_C_compiler" |
|||
done < <(grep "^X .* CC " config/$config/packages | cut -f5,6 -d' ') |
|||
if [ -z "$default" ] ; then |
|||
default="cc" ; list="cc Standard_C-Compiler_CC" |
|||
fi |
|||
choice ROCKCFG_DEFAULT_CC $default $list |
|||
|
|||
# do not build non-default gcc on stages 0 or 1 |
|||
if [ "$ROCKCFG_DEFAULT_CC" != "gcc2" ]; then |
|||
pkgfilter sed -e '/ gcc2 / s/^\(..\)../\1--/' |
|||
fi |
|||
if [ "$ROCKCFG_DEFAULT_CC" != "gcc3" ]; then |
|||
pkgfilter sed -e '/ gcc3 / s/^\(..\)../\1--/' |
|||
fi |
|||
if [ "$ROCKCFG_DEFAULT_CC" != "gcc33" ]; then |
|||
pkgfilter sed -e '/ gcc33 / s/^\(..\)../\1--/' |
|||
fi |
|||
if [ "$ROCKCFG_DEFAULT_CC" != "gccx" ]; then |
|||
pkgfilter sed -e '/ gccx / s/^\(..\)../\1--/' |
|||
fi |
|||
|
|||
pkgout |
|||
default='' ; list='' |
|||
while read pkg ver ; do |
|||
default=${default:-$pkg} ; [ $pkg = gcc3 ] && default=gcc3 |
|||
list="$list $pkg Use_${pkg}_($ver)_as_kernel_C_compiler" |
|||
done < <(grep "^X .* KCC " config/$config/packages | cut -f5,6 -d' ') |
|||
if [ -z "$default" ] ; then |
|||
default="kcc" ; list="kcc Standard_Kernel_C-Compiler_KCC" |
|||
fi |
|||
choice ROCKCFG_DEFAULT_KCC $default $list |
|||
|
|||
pkgout |
|||
default='' ; list='' |
|||
while read pkg ver ; do |
|||
default=${default:-$pkg} ; [ $pkg = gcc3 ] && default=gcc3 |
|||
list="$list $pkg Use_${pkg}_($ver)_as_standard_C++_compiler" |
|||
done < <(grep "^X .* CXX " config/$config/packages | cut -f5,6 -d' ') |
|||
if [ -z "$default" ] ; then |
|||
default="c++" ; list="c++ Standard_C++-Compiler_C++" |
|||
fi |
|||
choice ROCKCFG_DEFAULT_CXX $default $list |
|||
|
|||
pkgout |
|||
default='' ; list='' |
|||
while read pkg ver ; do |
|||
default=${default:-$pkg} ; [ $pkg = gcc3 ] && default=gcc3 |
|||
list="$list $pkg Use_${pkg}_($ver)_as_standard_F77_compiler" |
|||
done < <(grep "^X .* F77 " config/$config/packages | cut -f5,6 -d' ') |
|||
if [ -z "$default" ] ; then |
|||
default="f77" ; list="f77 Standard_Fortran-Compiler_F77" |
|||
fi |
|||
choice ROCKCFG_DEFAULT_F77 $default $list |
|||
menu_end |
|||
|
|||
if pkgcheck gcc3 X && pkgcheck gcc33 X; then |
|||
comment ' ' |
|||
comment 'WARNING: gcc3 and gcc33 are not designed to work together!!' |
|||
comment 'WARNING: please disable one of them.' |
|||
fi |
|||
|
|||
if pkgcheck "gcc2|gcc3|gcc33|gccx" X; then |
|||
|
|||
menu_begin MENU_PKG_GCC 'GCC (GNU Compiler Collection) options' |
|||
bool 'Use Stack-Smashing Protector when available' \ |
|||
ROCKCFG_PKG_GCC_STACKPRO 0 |
|||
%include package/*/*/subconfig-gcc.in |
|||
|
|||
if pkgcheck gcc2 X; then |
|||
comment ' ' |
|||
comment '--- GCC 2.x options' |
|||
bool 'Do not build CHILL compiler' \ |
|||
ROCKCFG_PKG_GCC2_NO_CHILL 0 |
|||
%include package/*/*/subconfig-gcc2.in |
|||
fi |
|||
if pkgcheck gcc3 X; then |
|||
comment ' ' |
|||
comment '--- GCC 3.2.x options' |
|||
bool 'Do not build JAVA compiler' \ |
|||
ROCKCFG_PKG_GCC3_NO_JAVA 0 |
|||
%include package/*/*/subconfig-gcc3.in |
|||
fi |
|||
if pkgcheck gcc33 X; then |
|||
comment ' ' |
|||
comment '--- GCC 3.3.x options' |
|||
bool 'Do not build JAVA compiler' \ |
|||
ROCKCFG_PKG_GCC33_NO_JAVA 0 |
|||
%include package/*/*/subconfig-gcc33.in |
|||
fi |
|||
if pkgcheck gccx X; then |
|||
comment ' ' |
|||
comment '--- GCC-snapshot options' |
|||
bool 'Do not build JAVA compiler' \ |
|||
ROCKCFG_PKG_GCCX_NO_JAVA 0 |
|||
%include package/*/*/subconfig-gccx.in |
|||
fi |
|||
|
|||
menu_end |
|||
fi |
|||
|
|||
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/fixincl.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./gcc/fixinc/fixincl.sh.orig Sat May 11 16:11:15 2002
|
|||
+++ ./gcc/fixinc/fixincl.sh Sat May 11 16:12:00 2002
|
|||
@@ -143,6 +143,8 @@
|
|||
INPUTLIST="$@" |
|||
fi |
|||
|
|||
+INPUTLIST=""
|
|||
+
|
|||
for INPUT in ${INPUTLIST} ; do |
|||
|
|||
cd ${ORIGDIR} |
|||
@ -1,27 +0,0 @@ |
|||
This patch is extracted from |
|||
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg00791.html |
|||
|
|||
- Juergen "George" Sawinski <jsaw@gmx.net>
|
|||
|
|||
--- gcc-3.2.3/gcc/cfgcleanup.c.orig 2004-01-12 01:03:22.000000000 +0100
|
|||
+++ gcc-3.2.3/gcc/cfgcleanup.c 2004-01-12 01:04:59.000000000 +0100
|
|||
@@ -1640,7 +1640,7 @@
|
|||
/* If the jump insn has side effects, |
|||
we can't kill the edge. */ |
|||
&& (GET_CODE (b->end) != JUMP_INSN |
|||
- || (flow2_completed
|
|||
+ || (reload_completed
|
|||
? simplejump_p (b->end) |
|||
: onlyjump_p (b->end))) |
|||
&& merge_blocks (s, b, c, mode)) |
|||
--- gcc-3.2.3/gcc/cfgrtl.c.orig 2004-01-12 01:03:40.000000000 +0100
|
|||
+++ gcc-3.2.3/gcc/cfgrtl.c 2004-01-12 01:06:41.000000000 +0100
|
|||
@@ -674,7 +674,7 @@
|
|||
if (tmp || !onlyjump_p (insn)) |
|||
return false; |
|||
|
|||
- if ((!optimize || flow2_completed) && tablejump_p (insn))
|
|||
+ if ((!optimize || reload_completed) && tablejump_p (insn))
|
|||
return false; |
|||
|
|||
/* Avoid removing branch with side effects. */ |
|||
@ -1,36 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc3/gcc3.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1087213978 Mon Jun 14 13:52:58 2004 |
|||
[CONFIG-ID] 2.1.0-DEV-x86-reference-expert |
|||
[ROCKVER] 2.1.0-DEV |
|||
|
|||
[LOGS] 0-gcc3.log 1-gcc3.log 2-gcc3.log 5-gcc3.log 9-gcc3.log |
|||
|
|||
[BUILDTIME] 180886 (9) |
|||
[SIZE] 78.07 MB, 1918 files |
|||
|
|||
[DEP] 00-dirtree autoconf automake bash binutils bison boehm-gc bzip2 |
|||
[DEP] ccache coreutils diffutils findutils gawk gettext glibc23 grep |
|||
[DEP] linux24-header make mktemp net-tools patch perl5 sed sysfiles tar |
|||
[DEP] texinfo xfree86 |
|||
|
|||
@ -1,375 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/gcc3.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# This configuration file is used for building any gcc package, |
|||
# 'gcc2', 'gcc3', 'gccx' and other versions / variants present in the |
|||
# ROCK Linux repositories. |
|||
# |
|||
# package/base/gcc2/gcc2.conf simply includes this file. |
|||
|
|||
create_links() { |
|||
for x ; do |
|||
if [ -f "$root/$prefix/bin/$x-${pkg#gcc}" ] ; then |
|||
rm -vf $root/$prefix/bin/$x |
|||
ln -vs $x-${pkg#gcc} $root/$prefix/bin/$x |
|||
fi |
|||
x="${arch_target}-$x" |
|||
if [ -f $root/$prefix/bin/$x-${pkg#gcc} ] ; then |
|||
rm -vf $root/$prefix/bin/$x |
|||
ln -vs $x-${pkg#gcc} $root/$prefix/bin/$x |
|||
fi |
|||
done |
|||
} |
|||
|
|||
custmain() { |
|||
# Apply the respective gcc-2 or gcc-3 stack protector patch. |
|||
. $base/package/base/gcc3/apply-protector.sh $base $pkg "$desc_D" |
|||
|
|||
hook_eval preconf |
|||
|
|||
# In stage 1 we only build a normal c compiler (no c++, etc) |
|||
# |
|||
if [ $stagelevel -le 1 ] ; then |
|||
echo 'Setting LANGUAGES="c" in Makefile.in.' |
|||
sed -i -e 's/LANGUAGES="[^"]*"/LANGUAGES="c"/g' \ |
|||
Makefile.in |
|||
elif [ "$ROCKCFG_DEBUG" = 1 ] ; then |
|||
if [ -f libstdc++*/configure ] ; then |
|||
echo "Setting DEBUG_FLAGS='-s' in libstdc++ configure." |
|||
( cd libstdc++* |
|||
sed -i -e "s/DEBUG_FLAGS='-g'/DEBUG_FLAGS='-s'/g" \ |
|||
configure ) |
|||
fi |
|||
MAKE="$MAKE LIBGCC2_DEBUG_CFLAGS=-s LDFLAGS=-Wl,-s JCFLAGS=-s" |
|||
fi |
|||
|
|||
# GCC rebuilds itself using the xgcc which is build first. xgcc |
|||
# should also use the cc-wrapper. It might be better to patch big |
|||
# ammounts of the gcc sources - but this should also do the job. |
|||
# |
|||
export CFLAGS="$(exec -a echo bash \ |
|||
-c ". gcc-${pkg#gcc}" 2> /dev/null)" |
|||
export CXXFLAGS="$(exec -a echo bash \ |
|||
-c ". g++-${pkg#gcc}" 2> /dev/null)" |
|||
# |
|||
echo "Setting \$CFLAGS to '$CFLAGS'." |
|||
echo "Setting \$CXXFLAGS to '$CXXFLAGS'." |
|||
|
|||
mkdir objdir ; cd objdir |
|||
|
|||
# We install binaries, info-files and man-pages in temporary |
|||
# directories so we can rename it (adding version suffix) before |
|||
# moving them to their final directories. |
|||
# |
|||
makeinstopt="" |
|||
for x in bin info man ; do |
|||
mkdir -p $builddir/inst_$x |
|||
makeinstopt="$makeinstopt ${x}dir=$builddir/inst_$x" |
|||
done |
|||
|
|||
# NAMING VARIANT!? INTRODUCED IN GCC-3.2.1 |
|||
if [ $arch = powerpc ] ; then |
|||
ln -s ppc-nocross-linux-gnu powerpc-nocross-linux-gnu |
|||
fi |
|||
|
|||
# add the multi-lib config |
|||
if [ "$ROCKCFG_MULTILIB" = 1 ] ; then |
|||
confopt="$confopt --enable-multilib" |
|||
else |
|||
confopt="$confopt --disable-multilib" |
|||
fi |
|||
|
|||
# In stage 1 everything is a little bit more complicated |
|||
# |
|||
if [ $stagelevel -le 1 ] ; then |
|||
|
|||
create_config_cache > config.cache |
|||
eval $configprefix ../configure $confopt --enable-languages=c |
|||
|
|||
# creating native libiberty for build system |
|||
# (needed to build helper apps like gengenrtl) |
|||
# |
|||
mkdir -p $arch_build ; cd $arch_build |
|||
CC=$BUILDCC ../../configure |
|||
make all-libiberty ; cd .. |
|||
|
|||
MAKE="$MAKE LANGUAGES=c" |
|||
|
|||
# GCC thinks it can share object files between build and |
|||
# target if the CPUs are compatible, which isn't true if we |
|||
# are cross-building from glibc to dietlibc. So we also build |
|||
# helper programs with dietlibc if this is not a cross build |
|||
# between cpu architectures. |
|||
# |
|||
if ! [ "$pkg_dietlibc_useit" = 1 -a "$ROCKCFG_CROSSBUILD" = 0 ] |
|||
then |
|||
MAKE="$MAKE CC_FOR_BUILD='$BUILDCC'" |
|||
fi |
|||
|
|||
# Fixincludes doesn't run when cross-building, but we |
|||
# need a syslimits.h for a working gcc |
|||
# |
|||
mkdir -p gcc/include |
|||
echo '#include_next <limits.h>' > gcc/include/syslimits.h |
|||
|
|||
hook_eval premake |
|||
|
|||
# Build and install |
|||
# |
|||
eval $MAKE prefix=/$prefix libdir=/$prefix/lib |
|||
hook_eval inmake |
|||
eval $MAKE prefix=$root/$prefix $makeinstopt install |
|||
|
|||
# This stuff needs manual installation |
|||
# |
|||
echo "Creating /$prefix/${arch_target} ..." |
|||
mkdir -p $root/$prefix/${arch_target}/lib |
|||
cd $root/$prefix/${arch_target}/lib |
|||
for x in Mcrt1.o crti.o gcrt1.o crt1.o crtn.o |
|||
do ln -sf ../../lib/$x . ; done |
|||
if [ -f ../../../lib/ld-linux-$arch_machine.so.2 ] ; then |
|||
ln -sf ../../../lib/ld-linux-$arch_machine.so.2 . |
|||
elif [ -f ../../../lib/ld-linux.so.2 ] ; then |
|||
ln -sf ../../../lib/ld-linux.so.2 . |
|||
fi |
|||
else |
|||
|
|||
if [ $pkg = gcc2 -a "$ROCKCFG_PKG_GCC2_NO_CHILL" = 1 ] ; then |
|||
# gcc-2.x contains no java compiler |
|||
confopt="$confopt --enable-languages=c,c++,objc,f77" |
|||
elif [ "$ROCKCFG_DIETLIBC_ALL" = 1 -o "$ROCKCFG_DIETLIBC_gcc3" = 1 ] ; then |
|||
# FIXME: c++ and java are not working with dietlibc |
|||
confopt="$confopt --enable-languages=c,objc" |
|||
elif [ $pkg = gcc3 -a "$ROCKCFG_PKG_GCC3_NO_JAVA" = 1 ] || \ |
|||
[ $pkg = gcc33 -a "$ROCKCFG_PKG_GCC33_NO_JAVA" = 1 ] || \ |
|||
[ $pkg = gccx -a "$ROCKCFG_PKG_GCCX_NO_JAVA" = 1 ] ; then |
|||
# gcc-3.x contains no chill compiler |
|||
confopt="$confopt --enable-languages=c,c++,objc,f77" |
|||
elif [ "$arch" = mips ] ; then |
|||
# FIXME: MIPS doesn't like the Java compiler |
|||
confopt="$confopt --disable-libgcj" |
|||
fi |
|||
|
|||
# See http://gcc.gnu.org/gcc-3.2/c++-abi.html |
|||
# and http://www.codesourcery.com/cxx-abi/. |
|||
if [ $pkg != gcc2 ] ; then |
|||
confopt="$confopt --enable-__cxa_atexit" |
|||
fi |
|||
|
|||
# Set enable-shared |
|||
if [ "$diet_dynamic_static" == "static" ] ; then |
|||
confopt="$confopt --enable-shared=no" |
|||
else |
|||
confopt="$confopt --enable-shared=yes" |
|||
fi |
|||
|
|||
# Configure, build and install as usual |
|||
# |
|||
eval $configprefix ../configure $confopt --with-gnu-as \ |
|||
--enable-version-specific-runtime-libs \ |
|||
--with-gnu-ld --enable-threads=posix |
|||
|
|||
hook_eval premake |
|||
eval "$MAKE GCJFLAGS=\"$CXXFLAGS\" all" |
|||
hook_eval inmake |
|||
eval "$MAKE $makeinstopt install" |
|||
|
|||
# Fix the location of any improperly installed (F77) libraries |
|||
mv -vf $root/$prefix/lib/$gcc_lib_dir/../lib* \ |
|||
$root/$prefix/lib/$gcc_lib_dir || true |
|||
fi |
|||
hook_eval postmake |
|||
|
|||
# Rename and install binaries |
|||
# |
|||
cd $builddir/inst_bin ; mkdir -p $root/$prefix/bin |
|||
for y in c++ c++filt g++ cpp f77 g77 gcc gcov ; do |
|||
for x in $y ${arch_target}-$y ; do |
|||
if [ -f "$x" ] ; then |
|||
mv -v $x $root/$prefix/bin/${x}-${pkg#gcc} |
|||
fi |
|||
done |
|||
done |
|||
|
|||
# gcc2 does not contain an own c++filt ... - so use the binutils one |
|||
# |
|||
if [ "$pkg" = gcc2 ] ; then |
|||
ln -vsf $root/$prefix/bin/c++filt-2 c++filt-binutils |
|||
fi |
|||
|
|||
# Rename and install info-files |
|||
# |
|||
cd $builddir/inst_info ; mkdir -p $root/$prefix/info |
|||
for x in * ; do |
|||
[ ! -f $x ] && continue # e.g. if $x becomes '*' somehow |
|||
fn=$( echo $x | sed "s,\([a-z0-9]*\),\1-${pkg#gcc}," ) |
|||
infoname=$( echo $x | sed "s,\([a-z0-9]*\).*,\1," ) |
|||
echo "$x -> $root/$prefix/info/$fn" |
|||
sed "s,$infoname.info,$infoname-${pkg#gcc}.info," < $x \ |
|||
> $root/$prefix/info/$fn |
|||
if [ $ROCKCFG_DEFAULT_CC = $pkg ] ; then |
|||
cp -v $x $root/$prefix/info/$x |
|||
fi |
|||
true |
|||
done |
|||
|
|||
# Rename and install man-pages |
|||
# |
|||
cd $builddir/inst_man/man1 |
|||
mkdir -p $root/$prefix/man/man1 |
|||
for x in * ; do |
|||
[ ! -f $x ] && continue # e.g. if $x becomes '*' somehow |
|||
mv -v $x $root/$prefix/man/man1/${x%.1}-${pkg#gcc}.1 |
|||
if [ $ROCKCFG_DEFAULT_CC = $pkg ] ; then |
|||
ln -sf ${x%.1}-${pkg#gcc}.1 $root/$prefix/man/man1/$x |
|||
fi |
|||
true |
|||
done |
|||
hook_eval postdoc |
|||
|
|||
# Create various symlinks for cc, c++, cpp and f77. |
|||
# |
|||
if [ $ROCKCFG_DEFAULT_CC = $pkg ] ; then |
|||
create_links gcc cpp gcov |
|||
rm -f $root/$prefix/bin/cc |
|||
if [ "$ROCKCFG_DIETLIBC_ALL" = 1 ]; then |
|||
cat <<- 'EOT' > $root/$prefix/bin/cc |
|||
#!/bin/sh |
|||
exec diet gcc "$@" |
|||
EOT |
|||
chmod +x $root/$prefix/bin/cc |
|||
else |
|||
ln -svf gcc $root/$prefix/bin/cc |
|||
fi |
|||
ln -vsf ../$prefix/bin/cpp $root/lib/cpp |
|||
fi |
|||
ln -sf gcc-${pkg#gcc} $root/$prefix/bin/kcc-${pkg#gcc} |
|||
if [ $ROCKCFG_DEFAULT_KCC = $pkg ] ; then |
|||
ln -vsf gcc-${pkg#gcc} $root/$prefix/bin/kcc |
|||
fi |
|||
if [ $ROCKCFG_DEFAULT_CXX = $pkg ] ; then |
|||
create_links c++ c++filt g++ |
|||
fi |
|||
if [ $ROCKCFG_DEFAULT_F77 = $pkg ] ; then |
|||
create_links g77 |
|||
if [ -f $root/$prefix/bin/g77 ] ; then |
|||
rm -vf $root/$prefix/bin/f77 |
|||
ln -vsf g77 $root/$prefix/bin/f77 |
|||
fi |
|||
fi |
|||
|
|||
# Create symlinks for runtime libraries so they can be found by |
|||
# the dynamic loader and force rebuilding of the wrapper links |
|||
# |
|||
if [ $stagelevel -gt 1 ] ; then |
|||
( cd $root/$prefix/lib ; ln -vfs ${gcc_lib_dir}/*.so.* . ; ) |
|||
rm -fv $base/build/$ROCKCFG_ID/ROCK/$toolsdir/.lastupdate |
|||
fi |
|||
true |
|||
} |
|||
|
|||
gcc_stage0() { |
|||
# Apply the respective gcc-2 or gcc-3 stack protector patch. |
|||
. $base/package/base/gcc3/apply-protector.sh $base $pkg "$desc_D" |
|||
|
|||
mkdir -p $root/$prefix/$arch_target/{bin,lib} |
|||
rm -f $root/$prefix/$arch_target/include |
|||
if [ -f $root/$prefix/include/stdio.h ]; then |
|||
ln -s ../include $root/$prefix/$arch_target/include |
|||
elif [ -f $root/$prefix/diet-include/stdio.h ]; then |
|||
ln -s ../diet-include $root/$prefix/$arch_target/include |
|||
fi |
|||
|
|||
mkdir objdir ; cd objdir |
|||
|
|||
bindir="$root/$prefix/crosscc"; mkdir -p $root/$prefix/crosscc |
|||
[ "$pkg" != "gcc2" ] && \ |
|||
confopt="$confopt --enable-languages=c" |
|||
|
|||
hook_eval preconf |
|||
eval ../configure --program-prefix=${arch_target}- --disable-cpp \ |
|||
--disable-shared --disable-multilib $confopt |
|||
make -C libiberty |
|||
if [ -d texinfo ] ; then make -C texinfo ; fi |
|||
|
|||
hook_eval premake |
|||
if [ "$pkg" = "gcc2" ] ; then |
|||
make -C gcc all LANGUAGES="c" |
|||
hook_eval inmake |
|||
make -C gcc install LANGUAGES="c" |
|||
else |
|||
# workaround for at least gcc-3.2.3 |
|||
mkdir -p $root/$prefix/lib/${gcc_lib_dir} |
|||
make -C gcc all |
|||
hook_eval inmake |
|||
make -C gcc install |
|||
fi |
|||
hook_eval postmake |
|||
|
|||
${arch_target}-ranlib \ |
|||
$root/$prefix/lib/${gcc_lib_dir}/libgcc.a |
|||
x="$root/$prefix/crosscc/${arch_target}" |
|||
ln -svf ${arch_target}-gcc $x-gcc-${pkg#gcc} |
|||
ln -svf ${arch_target}-gcc $x-kcc-${pkg#gcc} |
|||
ln -svf ${arch_target}-gcc $x-kcc |
|||
ln -svf ${arch_target}-gcc $x-cc |
|||
rm -vf "$root/$prefix/crosscc/gcc" |
|||
rm -vf "$root/$prefix/crosscc/gcj" |
|||
|
|||
cd $root/$prefix/$arch_target/lib |
|||
for x in Mcrt1.o crt1.o crti.o crtn.o gcrt1.o \ |
|||
libc.a libc.so libc_nonshared.a |
|||
do ln -fvs $root/../../usr/lib/$x $x ; done |
|||
|
|||
for x in ld-linux{,-$arch_machine}.so.2 ld.so.1 libc.so.{6,6.1} |
|||
do ln -fvs $root/../../lib/$x $x ; done |
|||
|
|||
echo "Adapting gcc specs file..." |
|||
cd $root/$prefix/lib/${gcc_lib_dir} |
|||
mv specs specs.orig |
|||
|
|||
# Hint for the reader: |
|||
# The options are listed in _inverse_ order here. |
|||
x="$base/build/$ROCKCFG_ID" |
|||
tr '\n' '@' < specs.orig | sed \ |
|||
-e "s|@\\*link:@|@*link:@-L $x/../tools.cross/$arch_target/lib |" \ |
|||
-e "s|@\\*link:@|@*link:@-L $x/usr/$arch_target/lib |" \ |
|||
-e "s|@\\*link:@|@*link:@-L $x/usr/local/lib |" \ |
|||
-e "s|@\\*link:@|@*link:@-L $x/usr/lib |" \ |
|||
-e "s|@\\*link:@|@*link:@-L $x/lib |" \ |
|||
-e "s|@\\*link:@|@*link:@-rpath-link $x/lib |" \ |
|||
-e "s|@\\*cpp:@|@*cpp:@-I $x/usr/$arch_target/include |" \ |
|||
-e "s|@\\*cpp:@|@*cpp:@-I $x/usr/local/include |" \ |
|||
-e "s|@\\*cpp:@|@*cpp:@-I $x/usr/include |" \ |
|||
| tr '@' '\n' > specs |
|||
|
|||
rm -f $root/$prefix/.lastupdate |
|||
} |
|||
|
|||
if [ "$stagelevel" -eq 0 ]; then |
|||
custmain="gcc_stage0" |
|||
else |
|||
custmain="custmain" |
|||
fi |
|||
|
|||
gcc_lib_dir="gcc-lib/${arch_target}/${ver%%-*}" |
|||
|
|||
@ -1,50 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc3/gcc3.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU Compiler Collection Version 3 (aka GNU C Compiler) |
|||
|
|||
[T] This package contains the GNU Compiler Collection. It includes compilers |
|||
[T] for the languages C, C++, Objective C, Fortran 77, Java and others ... |
|||
[T] |
|||
[T] This GCC contains the Stack-Smashing Protector Patch which can be enabled |
|||
[T] with the -fstack-protector command-line option. More information about it |
|||
[T] ca be found at http://www.research.ibm.com/trl/projects/security/ssp/ . |
|||
|
|||
[U] http://gcc.gnu.org/ The GCC Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] DIETLIBC CC KCC CXX F77 |
|||
|
|||
[E] group compiler |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.2.3 |
|||
[P] X 012--5---9 102.300 |
|||
|
|||
[D] 4060808826 gcc-3.2.3.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.2.3/ |
|||
[D] 2790839069 protector-3.2.2-10.tar.gz http://www.research.ibm.com/trl/projects/security/ssp/gcc3_2_2/ |
|||
|
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/install_so.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./install-sh.orig Sat Mar 23 08:04:55 2002
|
|||
+++ ./install-sh Sat Mar 23 08:10:11 2002
|
|||
@@ -242,8 +242,12 @@
|
|||
|
|||
# Now rename the file to the real destination. |
|||
|
|||
- $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
- $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ if echo $dstdir/$dstfile | grep -q 'lib/.*\.so' ; then
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ else
|
|||
+ $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ fi
|
|||
|
|||
fi && |
|||
|
|||
@ -1,38 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-02-02 22:15:38.000000000 +0100
|
|||
+++ ./libiberty/Makefile.in 2003-02-05 22:59:35.000000000 +0100
|
|||
@@ -240,12 +240,7 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- $(mkinstalldirs) $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) && \
|
|||
- $(RANLIB) $(TARGETLIB)n && \
|
|||
- mv -f $(TARGETLIB)n $(TARGETLIB) )
|
|||
- @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
|
|||
+ echo flistdel: $(TARGETLIB) should not install.
|
|||
|
|||
install_to_tooldir: all |
|||
$(mkinstalldirs) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` |
|||
@ -1,42 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/no-install-zlib.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./zlib/Makefile.in.orig 2002-11-25 21:28:45.000000000 +0200
|
|||
+++ ./zlib/Makefile.in 2003-01-25 15:39:06.000000000 +0200
|
|||
@@ -227,15 +227,13 @@
|
|||
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not install."; \
|
|||
else :; fi; \ |
|||
done |
|||
@$(POST_INSTALL) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not reindex."; \
|
|||
else :; fi; \ |
|||
done |
|||
|
|||
@ -1,125 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/parse-config |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# Use the GCC-[23] stack protector patch |
|||
# |
|||
if [ $pkg != glibc23 -a $pkg != glibc22 -a \ |
|||
$pkg != grub -a $pkg != dietlibc ] |
|||
then |
|||
if [ "${ROCKCFG_DEFAULT_CC:0:3}" = "gcc" -a "$ROCKCFG_PKG_GCC_STACKPRO" = 1 ] ; then |
|||
var_append GCC2_WRAPPER_INSERT " " "-fstack-protector" |
|||
var_append GCC3_WRAPPER_INSERT " " "-fstack-protector" |
|||
fi |
|||
fi |
|||
|
|||
# maybe we add something more later. But imo it's better to |
|||
# let the options of KCC unmodified for gcc[23]. (Clifford) |
|||
# |
|||
if [[ $ROCKCFG_DEFAULT_KCC = gcc* ]] ; then |
|||
export KCC="${archprefix}kcc-${ROCKCFG_DEFAULT_KCC#gcc}" |
|||
if [ "$ROCKCFG_OPT" = "size" ] ; then |
|||
var_insert KCC_WRAPPER_REMOVE " " "-O -O[0-9]" |
|||
var_insert KCC_WRAPPER_INSERT " " "-Os" |
|||
fi |
|||
fi |
|||
|
|||
# set CC, CXX and F77 environment variables |
|||
# |
|||
for x in CC CXX F77 ; do |
|||
eval "y=\$ROCKCFG_DEFAULT_$x" |
|||
if [[ $y = gcc* ]] ; then |
|||
case "$x-$stagelevel" in |
|||
CC-*) |
|||
z="${archprefix}gcc ${archprefix}gcc-${y#gcc}" ;; |
|||
CXX-[2-9]) |
|||
z="${archprefix}g++ ${archprefix}g++-${y#gcc}" ;; |
|||
F77-[2-9]) |
|||
z="${archprefix}g77 ${archprefix}g77-${y#gcc}" ;; |
|||
*) |
|||
export $x=${x}_not_available_in_stage_${stagelevel} |
|||
continue ;; |
|||
esac |
|||
for y in $z ; do |
|||
[ "`type -p $y`" ] && export $x=$y |
|||
done |
|||
fi |
|||
done |
|||
|
|||
# Add the usual gcc optimazation options |
|||
# Strip or add debug information |
|||
# |
|||
if [ "$ROCKCFG_DEBUG" = 0 ] ; then |
|||
var_append GCC_WRAPPER_APPEND " " "-s" |
|||
var_insert GCC_WRAPPER_REMOVE " " "-g*" |
|||
else |
|||
if [[ $pkg != glibc* ]] ; then |
|||
var_append GCC_WRAPPER_APPEND " " "-ggdb" |
|||
var_insert GCC_WRAPPER_REMOVE " " "-s -g*" |
|||
fi |
|||
fi |
|||
var_insert GCC_WRAPPER_REMOVE " " "-O -O[0-9s] -m*" |
|||
case "$ROCKCFG_OPT" in |
|||
smart) |
|||
var_insert GCC_WRAPPER_INSERT " " "-SPEED-O2 -SIZE-Os -pipe" |
|||
var_insert GCC_WRAPPER_FILTER "|" "gawk -f $base/misc/tools-source/smartwr.awk $base/scripts/smart_db.txt -" |
|||
;; |
|||
bizarre) |
|||
var_insert GCC_WRAPPER_INSERT " " "-SPEED-Os -SIZE-O2 -pipe" |
|||
var_insert GCC_WRAPPER_FILTER "|" "gawk -f $base/misc/tools-source/smartwr.awk $base/scripts/smart_db.txt -" |
|||
;; |
|||
speed) |
|||
var_insert GCC_WRAPPER_INSERT " " "-O2 -pipe" |
|||
;; |
|||
size) |
|||
var_insert GCC_WRAPPER_INSERT " " "-Os -pipe" |
|||
;; |
|||
lazy) |
|||
var_insert GCC_WRAPPER_INSERT " " "-O -pipe" |
|||
;; |
|||
esac |
|||
|
|||
var_append GCC_WRAPPER_APPEND " " "$ROCKCFG_C_FLAGS" |
|||
|
|||
# Compile (i.e. link) all bins statically |
|||
# |
|||
if [ "$ROCKCFG_STATIC" = 1 ]; then |
|||
var_insert GCC_WRAPPER_INSERT " " "-static" |
|||
fi |
|||
|
|||
# Compile with no exceptions or rtti, gcc itself must support both |
|||
# |
|||
if [ "$ROCKCFG_LIMITCXX" = 1 ] && [[ $pkg != gcc* ]] ; then |
|||
var_append CXX_WRAPPER_APPEND " " "-fno-exceptions -fno-rtti" |
|||
fi |
|||
|
|||
# Passing -I/usr{/local/}include creates a warning in gcc3 which is confusing |
|||
# some of the configure scripts and Makefiles. |
|||
# |
|||
var_insert GCC3_WRAPPER_REMOVE " " "-I/usr/include" |
|||
var_insert GCC3_WRAPPER_REMOVE " " "-I/usr/local/include" |
|||
|
|||
# Add the architecture gcc optimisation options |
|||
# |
|||
if [ -f architecture/$arch/gcc-options ] ; then |
|||
. architecture/$arch/gcc-options |
|||
fi |
|||
|
|||
@ -1,74 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/protector-docs.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./gcc/doc/gcc.1.orig 2002-11-19 19:17:19.000000000 +0100
|
|||
+++ ./gcc/doc/gcc.1 2003-01-02 16:08:53.000000000 +0100
|
|||
@@ -687,8 +687,8 @@
|
|||
\&\-fno-common \-fno-ident \-fno-gnu-linker |
|||
\&\-fpcc-struct-return \-fpic \-fPIC |
|||
\&\-freg-struct-return \-fshared-data \-fshort-enums |
|||
-\&\-fshort-double \-fshort-wchar \-fvolatile
|
|||
-\&\-fvolatile-global \-fvolatile-static
|
|||
+\&\-fshort-double \-fstack-protector \-fshort-wchar
|
|||
+\&\-fvolatile \-fvolatile-global \-fvolatile-static
|
|||
\&\-fverbose-asm \-fpack-struct \-fstack-check |
|||
\&\-fstack-limit-register=\fR\fIreg\fR \fB\-fstack-limit-symbol=\fR\fIsym\fR |
|||
\&\fB\-fargument-alias \-fargument-noalias |
|||
@@ -8954,6 +8954,12 @@
|
|||
instructions to throw exceptions, i.e. memory references or floating |
|||
point instructions. It does not allow exceptions to be thrown from |
|||
arbitrary signal handlers such as \f(CW\*(C`SIGALRM\*(C'\fR. |
|||
+.Ip "\fB\-fstack-protector\fR" 4
|
|||
+.IX Item "-fstack-protector"
|
|||
+Enable the Stack-Smashing Protector (
|
|||
+.B http://www.trl.ibm.com/projects/security/ssp/
|
|||
+). This option is only available in ROCK Linux (and probably
|
|||
+some other distributions). It's not a standard GCC option.
|
|||
.Ip "\fB\-funwind-tables\fR" 4 |
|||
.IX Item "-funwind-tables" |
|||
Similar to \fB\-fexceptions\fR, except that it will just generate any needed |
|||
--- ./gcc/doc/invoke.texi.orig 2002-10-29 17:35:04.000000000 +0100
|
|||
+++ ./gcc/doc/invoke.texi 2003-01-02 16:12:11.000000000 +0100
|
|||
@@ -676,7 +676,7 @@
|
|||
-fno-common -fno-ident -fno-gnu-linker @gol |
|||
-fpcc-struct-return -fpic -fPIC @gol |
|||
-freg-struct-return -fshared-data -fshort-enums @gol |
|||
--fshort-double -fshort-wchar -fvolatile @gol
|
|||
+-fshort-double -fstack-protector -fshort-wchar -fvolatile @gol
|
|||
-fvolatile-global -fvolatile-static @gol |
|||
-fverbose-asm -fpack-struct -fstack-check @gol |
|||
-fstack-limit-register=@var{reg} -fstack-limit-symbol=@var{sym} @gol |
|||
@@ -9721,6 +9721,14 @@
|
|||
it. |
|||
|
|||
@table @gcctabopt |
|||
+
|
|||
+@item -fstack-protector
|
|||
+@opindex fstack-protector
|
|||
+Enable the Stack-Smashing Protector
|
|||
+(http://www.trl.ibm.com/projects/security/ssp/).
|
|||
+This option is only available in ROCK Linux (and probably
|
|||
+some other distributions). It's not a standard GCC option.
|
|||
+
|
|||
@item -fexceptions |
|||
@opindex fexceptions |
|||
Enable exception handling. Generates extra code needed to propagate |
|||
@ -1,37 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/sig_pthread_h.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Wow! It looks like there is a problem in the glibc header structure. |
|||
bits/sigthread.h (included by signal.h) needs pthread_t which is not |
|||
defined if we don't include pthread.h. |
|||
|
|||
--- ./gcc/config/i386/linux.h.orig 2002-08-15 14:21:56.000000000 +0200
|
|||
+++ ./gcc/config/i386/linux.h 2002-08-15 14:22:20.000000000 +0200
|
|||
@@ -221,6 +221,7 @@
|
|||
state data appropriately. See unwind-dw2.c for the structs. */ |
|||
|
|||
#ifdef IN_LIBGCC2 |
|||
+#include <pthread.h>
|
|||
#include <signal.h> |
|||
#include <sys/ucontext.h> |
|||
#endif |
|||
@ -1,52 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc3/wrappers.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
gcc_build_wrapper() { |
|||
local x="$1" y z ; shift |
|||
for y ; do |
|||
local ver=`$y -dumpversion 2> /dev/null` |
|||
[ $? != 0 ] && continue |
|||
|
|||
case "$ver" in |
|||
2.*) z="$x,GCC,GCC2" ;; |
|||
3.*) z="$x,GCC,GCC3" ;; |
|||
*) continue ;; |
|||
esac |
|||
|
|||
if [ $x = KCC ] ; then |
|||
build_wrapper $x $y |
|||
else |
|||
build_wrapper $z $y |
|||
fi |
|||
done |
|||
} |
|||
|
|||
gcc_build_wrapper CC ${arch_target}-cc ${arch_target}-gcc{-2,-3,-33,-x,} |
|||
gcc_build_wrapper KCC ${arch_target}-kcc{-2,-3,-33,-x,} |
|||
|
|||
if [ $stagelevel -gt 1 -o "$ROCKCFG_USE_CROSSCC" = 0 ] ; then |
|||
gcc_build_wrapper CC cc gcc{-2,-3,-33,-x,} |
|||
gcc_build_wrapper CXX {c,g}++{-2,-3,-33,-x,} |
|||
gcc_build_wrapper F77 {g,f}77{-2,-3,-33,-x,} |
|||
gcc_build_wrapper KCC kcc{-2,-3,-33,-x,} |
|||
fi |
|||
|
|||
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc33/fixincl.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./gcc/fixinc/fixincl.sh.orig Sat May 11 16:11:15 2002
|
|||
+++ ./gcc/fixinc/fixincl.sh Sat May 11 16:12:00 2002
|
|||
@@ -143,6 +143,8 @@
|
|||
INPUTLIST="$@" |
|||
fi |
|||
|
|||
+INPUTLIST=""
|
|||
+
|
|||
for INPUT in ${INPUTLIST} ; do |
|||
|
|||
cd ${ORIGDIR} |
|||
@ -1,24 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc33/gcc33.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
. $base/package/base/gcc3/gcc3.conf |
|||
|
|||
@ -1,50 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gcc33/gcc33.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU Compiler Collection Version 3.3 (aka GNU C Compiler) |
|||
|
|||
[T] This package contains the GNU Compiler Collection. It includes compilers |
|||
[T] for the languages C, C++, Objective C, Fortran 77, Java and others ... |
|||
[T] |
|||
[T] This GCC contains the Stack-Smashing Protector Patch which can be enabled |
|||
[T] with the -fstack-protector command-line option. More information about it |
|||
[T] ca be found at http://www.research.ibm.com/trl/projects/security/ssp/ . |
|||
|
|||
[U] http://gcc.gnu.org/ The GCC Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Rene Rebe <rene@rocklinux.org> |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] DIETLIBC CC KCC CXX F77 |
|||
|
|||
[E] group compiler |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.3.3 |
|||
[P] O 012--5---9 102.400 |
|||
|
|||
[D] 124205161 gcc-3.3.3.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.3.3/ |
|||
[D] 3472291992 protector-3.3-7.tar.gz http://www.research.ibm.com/trl/projects/security/ssp/gcc3_3/ |
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc33/install_so.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./install-sh.orig Sat Mar 23 08:04:55 2002
|
|||
+++ ./install-sh Sat Mar 23 08:10:11 2002
|
|||
@@ -242,8 +242,12 @@
|
|||
|
|||
# Now rename the file to the real destination. |
|||
|
|||
- $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
- $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ if echo $dstdir/$dstfile | grep -q 'lib/.*\.so' ; then
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ else
|
|||
+ $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ fi
|
|||
|
|||
fi && |
|||
|
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc33/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-03-23 06:16:03.000000000 -0400
|
|||
+++ ./libiberty/Makefile.in 2003-05-15 17:02:18.000000000 -0400
|
|||
@@ -263,10 +263,10 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
- mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
+ #${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
+ #$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
+ #( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
+ #mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
if test -n "${target_header_dir}"; then \ |
|||
case "${target_header_dir}" in \ |
|||
/*) thd=${target_header_dir};; \ |
|||
@ -1,42 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gcc33/no-install-zlib.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./zlib/Makefile.in.orig 2002-11-25 21:28:45.000000000 +0200
|
|||
+++ ./zlib/Makefile.in 2003-01-25 15:39:06.000000000 +0200
|
|||
@@ -227,15 +227,13 @@
|
|||
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not install."; \
|
|||
else :; fi; \ |
|||
done |
|||
@$(POST_INSTALL) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not reindex."; \
|
|||
else :; fi; \ |
|||
done |
|||
|
|||
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gccx/fixincl.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./gcc/fixinc/fixincl.sh.orig Sat May 11 16:11:15 2002
|
|||
+++ ./gcc/fixinc/fixincl.sh Sat May 11 16:12:00 2002
|
|||
@@ -143,6 +143,8 @@
|
|||
INPUTLIST="$@" |
|||
fi |
|||
|
|||
+INPUTLIST=""
|
|||
+
|
|||
for INPUT in ${INPUTLIST} ; do |
|||
|
|||
cd ${ORIGDIR} |
|||
@ -1,36 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gccx/gccx.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1043850870 Wed Jan 29 15:34:30 2003 |
|||
[CONFIG-ID] 1.7-snapshot-ia32-reference-expert |
|||
[ROCKVER] 1.7-snapshot |
|||
|
|||
[LOGS] 1-gcc3.log 2-gcc3.log 5-gcc3.log 9-gcc3.log |
|||
|
|||
[BUILDTIME] 253143 (9) |
|||
[SIZE] 56.27 MB, 1803 files |
|||
|
|||
[DEP] autoconf automake bash binutils bison bzip2 diffutils fileutils |
|||
[DEP] findutils gawk gcc3 gettext glibc grep lesstif linux24-src make |
|||
[DEP] mktemp net-tools patch perl5 sed sh-utils sysfiles tar texinfo |
|||
[DEP] textutils xfree86 |
|||
|
|||
@ -1,24 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gccx/gccx.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
. $base/package/base/gcc3/gcc3.conf |
|||
|
|||
@ -1,49 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/gccx/gccx.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] A snapshot of The GNU Compiler Collection (aka GNU C Compiler) |
|||
|
|||
[T] This package contains the GNU Compiler Collection. It includes compilers |
|||
[T] for the languages C, C++, Objective C, Fortran 77, Java and others ... |
|||
[T] |
|||
[T] This packages is a _snapshot_ version of the GCC and _not_ indended for |
|||
[T] normal users! |
|||
|
|||
[U] http://gcc.gnu.org/ The GCC Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Rene Rebe <rene@rocklinux.org> |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/development |
|||
[F] DIETLIBC CC KCC CXX F77 |
|||
|
|||
[E] group compiler |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 3.4-20040317 |
|||
[P] O 012--5---9 102.500 |
|||
|
|||
[D] 2328617681 gcc-3.4-20040317.tar.bz2 ftp://gcc.gnu.org/pub/gcc/snapshots/3.4-20040317/ |
|||
|
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gccx/install_so.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./install-sh.orig 2003-07-20 11:40:28.000000000 +0200
|
|||
+++ ./install-sh 2003-11-02 17:04:13.000000000 +0100
|
|||
@@ -283,7 +283,13 @@
|
|||
|
|||
# Now rename the file to the real destination. |
|||
|
|||
- $doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
|||
+ if echo $dstdir/$dstfile | grep -q 'lib/.*\.so' ; then
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ else
|
|||
+ $doit $rmcmd -f $dstdir/$dstfile &&
|
|||
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
|
|||
+ fi
|
|||
+
|
|||
|
|||
fi && |
|||
|
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gccx/no-install-libiberty.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libiberty/Makefile.in.orig 2003-03-23 06:16:03.000000000 -0400
|
|||
+++ ./libiberty/Makefile.in 2003-05-15 17:02:18.000000000 -0400
|
|||
@@ -263,10 +263,10 @@
|
|||
install: install_to_$(INSTALL_DEST) install-subdir |
|||
|
|||
install_to_libdir: all |
|||
- ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
- $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
- ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
- mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
+ #${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR)
|
|||
+ #$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n
|
|||
+ #( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n )
|
|||
+ #mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)
|
|||
if test -n "${target_header_dir}"; then \ |
|||
case "${target_header_dir}" in \ |
|||
/*) thd=${target_header_dir};; \ |
|||
@ -1,42 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/gccx/no-install-zlib.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./zlib/Makefile.in.orig 2002-11-25 21:28:45.000000000 +0200
|
|||
+++ ./zlib/Makefile.in 2003-01-25 15:39:06.000000000 +0200
|
|||
@@ -227,15 +227,13 @@
|
|||
$(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(INSTALL_DATA) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not install."; \
|
|||
else :; fi; \ |
|||
done |
|||
@$(POST_INSTALL) |
|||
@list='$(toolexeclib_LIBRARIES)'; for p in $$list; do \ |
|||
if test -f $$p; then \ |
|||
- echo " $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|||
- $(RANLIB) $(DESTDIR)$(toolexeclibdir)/$$p; \
|
|||
+ echo "flistdel: $$p should not reindex."; \
|
|||
else :; fi; \ |
|||
done |
|||
|
|||
@ -1,43 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/glibc-2.2.2-mtrace-intl-perl.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Don't run this check if no perl is found on the system |
|||
|
|||
--- ./intl/Makefile~ Fri Feb 9 19:04:07 2001
|
|||
+++ ./intl/Makefile Mon Apr 30 14:21:10 2001
|
|||
@@ -53,6 +53,7 @@
|
|||
|
|||
ifeq (no,$(cross-compiling)) |
|||
ifeq (yes,$(build-shared)) |
|||
+ifneq (no,$(PERL))
|
|||
ifneq ($(strip $(MSGFMT)),:) |
|||
tests: $(objpfx)mtrace-tst-gettext $(objpfx)tst-translit.out \ |
|||
$(objpfx)tst-gettext2.out |
|||
@@ -65,6 +66,7 @@
|
|||
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/ |
|||
$(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2 |
|||
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/ |
|||
+endif
|
|||
endif |
|||
endif |
|||
endif |
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/glibc-2.2.2-test-lfs-timeout.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
set the timeout for Reiserfs to 120 seconds |
|||
|
|||
--- ./io/test-lfs.c~ Fri Feb 9 18:04:07 2001
|
|||
+++ ./io/test-lfs.c Sat Feb 17 04:30:18 2001
|
|||
@@ -34,7 +34,7 @@
|
|||
#define PREPARE do_prepare |
|||
|
|||
/* We might need a bit longer timeout. */ |
|||
-#define TIMEOUT 20 /* sec */
|
|||
+#define TIMEOUT 120 /* sec */
|
|||
|
|||
/* This defines the `main' function and some more. */ |
|||
#include <test-skeleton.c> |
|||
@ -1,67 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/glibc-2.2.3-string2.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Add explicit casts to make sure that "+ 2" and "+ 4" increments |
|||
to pointer byte-wise (and not 4-byte words or whatever else). |
|||
|
|||
--- ./string/bits/string2.h.old Tue Jun 12 12:52:46 2001
|
|||
+++ ./string/bits/string2.h Tue Jun 12 12:53:51 2001
|
|||
@@ -415,7 +415,7 @@
|
|||
break; |
|||
case 3: |
|||
__u->__usi = __src0_2; |
|||
- __u = __extension__ ((void *) __u + 2);
|
|||
+ __u = __extension__ (void *)((char *) __u + 2);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 4: |
|||
@@ -423,24 +423,24 @@
|
|||
break; |
|||
case 5: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 6: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__usi = __src4_2; |
|||
break; |
|||
case 7: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__usi = __src4_2; |
|||
- __u = __extension__ ((void *) __u + 2);
|
|||
+ __u = __extension__ (void *)((char *) __u + 2);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 8: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__ui = __src4_4; |
|||
break; |
|||
} |
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/glibc-2.2.5-weak-alias-order.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
weak alias must precede definition in gcc-3.1.1 |
|||
|
|||
--- ./sysdeps/unix/sysv/linux/errlist.c.orig 2001-07-23 20:57:12.000000000 +0300
|
|||
+++ ./sysdeps/unix/sysv/linux/errlist.c 2002-08-13 22:46:25.000000000 +0300
|
|||
@@ -37,8 +37,8 @@
|
|||
|
|||
const int __old_sys_nerr = OLD_ERRLIST_SIZE; |
|||
|
|||
-strong_alias (__old_sys_nerr, _old_sys_nerr);
|
|||
weak_alias (__old_sys_nerr, _old_sys_nerr) |
|||
+strong_alias (__old_sys_nerr, _old_sys_nerr);
|
|||
compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0); |
|||
compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0); |
|||
weak_alias (__old_sys_errlist, _old_sys_errlist); |
|||
@ -1,123 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/glibc22.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
glibc_custmain() { |
|||
cat > configparms <<- EOF |
|||
prefix = /usr |
|||
slibdir = /lib |
|||
sysconfdir = /etc |
|||
install_root = $root |
|||
CC = $CC |
|||
BUILD_CC = $BUILDCC |
|||
AR = $AR |
|||
RANLIB = $RANLIB |
|||
EOF |
|||
|
|||
# Disable glibc internal debuging but build debuging and profile |
|||
# code so we can use this glibc to debug other programs. |
|||
CFLAGS="$CFLAGS -g -DNDEBUG=1" ./configure --with-gnu-binutils \ |
|||
--enable-add-ons --enable-profile \ |
|||
--with-headers=$root/usr/include/linux \ |
|||
--with-gd=/usr \ |
|||
--with-gd-lib=/usr/lib \ |
|||
--with-gd-include=/usr/include \ |
|||
--build=${arch_build} ${arch_target} |
|||
|
|||
echo $BUILDCC elf/sln.c -o elf/dyn_sln |
|||
$BUILDCC elf/sln.c -o elf/dyn_sln |
|||
eval $MAKE symbolic-link-prog=elf/dyn_sln all install |
|||
|
|||
# Misc. stuff |
|||
# |
|||
if [ "$crossnative" = native ] ; then |
|||
eval $MAKE install-locales -C localedata |
|||
mkdir -p $root/usr/share/man/man3 |
|||
if [ -f /usr/bin/perl ] ; then |
|||
eval $MAKE -C linuxthreads/man \ |
|||
MANDIR=$root/usr/share/man/man3 all install |
|||
fi |
|||
fi |
|||
ln -sf libbsd-compat.a $root/usr/lib/libbsd.a |
|||
|
|||
# copy linuxthreads and crypt documentation |
|||
# |
|||
cp linuxthreads/ChangeLog $docdir/ChangeLog.threads |
|||
cp linuxthreads/Changes $docdir/Changes.threads |
|||
cp linuxthreads/README $docdir/README.threads |
|||
cp linuxthreads/FAQ.html $docdir/FAQ-threads.html |
|||
cp -r linuxthreads/Examples $docdir/examples.threads |
|||
cp crypt/README.ufc-crypt $docdir/README.crypt |
|||
|
|||
# NSCD Init script and config |
|||
# |
|||
cp $confdir/nscd.conf $confdir/nsswitch.conf $root/etc/ |
|||
install_init nscd $confdir/nscd.init |
|||
|
|||
# No absolute path in libc.so if cross-compileing |
|||
# |
|||
if [ $crossnative = cross ] ; then |
|||
libcso=$root/usr/lib/libc.so |
|||
for x in 1 2 3 4 5 ; do |
|||
sed -i 's,/[a-z/]*/,,' $libcso |
|||
done |
|||
fi |
|||
|
|||
# Install ld.so.conf |
|||
# |
|||
{ |
|||
echo "/usr/lib" |
|||
echo "/usr/X11/lib" |
|||
echo "/usr/local/lib" |
|||
echo "/opt/*/lib" |
|||
} > $root/etc/ld.so.conf |
|||
if [ -f $root/usr/sbin/ldconfig ] ; then |
|||
ln -sf ../usr/sbin/ldconfig $root/sbin/ |
|||
fi |
|||
} |
|||
|
|||
glibc_prepatch() { |
|||
tar $taropt $archdir/glibc-linuxthreads-$threadsver.tar.bz2 |
|||
} |
|||
|
|||
glibc_stage0() { |
|||
eval "./configure --enable-add-ons $confopt" |
|||
make cross-compiling=yes install-headers |
|||
|
|||
# make some final adaptions |
|||
cp -v include/features.h $root/$prefix/include |
|||
mkdir -p $root/$prefix/include/gnu |
|||
touch $root/$prefix/include/gnu/stubs.h |
|||
cp -v bits/stdio_lim.h $root/$prefix/include/bits |
|||
# cp /usr/include/errno.h $root/$prefix/include |
|||
# cp /usr/include/bits/errno.h $root/$prefix/include/bits |
|||
} |
|||
|
|||
threadsver="$ver" |
|||
prepatch="glibc_prepatch" |
|||
|
|||
if [ $stagelevel -eq 0 ] |
|||
then |
|||
custmain="glibc_stage0" |
|||
else |
|||
custmain="glibc_custmain" |
|||
fi |
|||
|
|||
@ -1,46 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/glibc22/glibc22.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU C library. |
|||
|
|||
[T] GNU C library (glibc) defines the ``system calls'' and other |
|||
[T] basic facilities such as open, malloc, printf, |
|||
[T] exit... It is used by almost all C programs and provides |
|||
[T] the most essential program interface. |
|||
|
|||
[U] http://www.gnu.org/software/libc/ The GLibc2 Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/library |
|||
[E] group libc |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.2.5 |
|||
[P] O 01---5---9 101.900 |
|||
|
|||
[D] 3668701206 glibc-2.2.5.tar.gz ftp://ftp.gnu.org/pub/gnu/glibc/ |
|||
[D] 235742415 glibc-linuxthreads-2.2.5.tar.gz ftp://ftp.gnu.org/pub/gnu/glibc/ |
|||
|
|||
@ -1,46 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/initfini-ccwrapper.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Make sure that the ROCK Linux CC Wrapper is not removing the CFLAGS |
|||
stored in CFLAGS-initfini.s and CFLAGS-pt-initfini.s. |
|||
|
|||
--- ./csu/Makefile.orig 2001-07-23 20:53:37.000000000 +0300
|
|||
+++ ./csu/Makefile 2002-06-23 09:25:47.000000000 +0300
|
|||
@@ -98,5 +98,6 @@
|
|||
|
|||
$(objpfx)initfini.s: initfini.c |
|||
- $(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
|
|||
+ CC_WRAPPER_APPEND="$$CC_WRAPPER_APPEND $(CFLAGS-initfini.s)" \
|
|||
+ $(compile.c) -S -finhibit-size-directive \
|
|||
$(patsubst -f%,-fno-%,$(exceptions)) -o $@ |
|||
|
|||
--- ./linuxthreads/Makefile.orig 2002-01-21 05:21:14.000000000 +0200
|
|||
+++ ./linuxthreads/Makefile 2002-06-23 12:25:10.000000000 +0300
|
|||
@@ -105,5 +105,6 @@
|
|||
|
|||
$(objpfx)pt-initfini.s: pt-initfini.c |
|||
- $(compile.c) -S $(CFLAGS-pt-initfini.s) -finhibit-size-directive \
|
|||
+ CC_WRAPPER_APPEND="$$CC_WRAPPER_APPEND $(CFLAGS-pt-initfini.s)" \
|
|||
+ $(compile.c) -S -finhibit-size-directive \
|
|||
$(patsubst -f%,-fno-%,$(exceptions)) -o $@ |
|||
|
|||
@ -1,105 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/ldconfig-glob.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./elf/ldconfig.c.orig 2002-09-14 12:12:51.000000000 +0200
|
|||
+++ ./elf/ldconfig.c 2002-09-14 12:52:50.000000000 +0200
|
|||
@@ -23,6 +23,7 @@
|
|||
#include <elf.h> |
|||
#include <error.h> |
|||
#include <errno.h> |
|||
+#include <glob.h>
|
|||
#include <inttypes.h> |
|||
#include <libintl.h> |
|||
#include <stdio.h> |
|||
@@ -302,8 +303,10 @@
|
|||
{ |
|||
char *equal_sign; |
|||
struct dir_entry *entry; |
|||
+ struct dir_entry *real_entry;
|
|||
unsigned int i; |
|||
struct stat64 stat_buf; |
|||
+ glob_t globres;
|
|||
|
|||
entry = xmalloc (sizeof (struct dir_entry)); |
|||
entry->next = NULL; |
|||
@@ -338,19 +341,50 @@
|
|||
--i; |
|||
} |
|||
|
|||
- if (stat64 (entry->path, &stat_buf))
|
|||
- {
|
|||
- if (opt_verbose)
|
|||
- error (0, errno, _("Can't stat %s"), entry->path);
|
|||
- free (entry->path);
|
|||
- free (entry);
|
|||
- return;
|
|||
- }
|
|||
+ if ( glob(entry->path, GLOB_ONLYDIR, NULL, &globres) == 0 )
|
|||
+ {
|
|||
+ for (i=0; i<globres.gl_pathc; i++)
|
|||
+ {
|
|||
+ real_entry = xmalloc (sizeof (struct dir_entry));
|
|||
+ memcpy (real_entry, entry, sizeof (struct dir_entry));
|
|||
+ real_entry->path = xstrdup (globres.gl_pathv[i]);
|
|||
|
|||
- entry->ino = stat_buf.st_ino;
|
|||
- entry->dev = stat_buf.st_dev;
|
|||
+ if (stat64 (real_entry->path, &stat_buf))
|
|||
+ {
|
|||
+ if (opt_verbose)
|
|||
+ error (0, errno, _("Can't stat %s"), real_entry->path);
|
|||
+ free (real_entry->path);
|
|||
+ free (real_entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ real_entry->ino = stat_buf.st_ino;
|
|||
+ real_entry->dev = stat_buf.st_dev;
|
|||
+
|
|||
+ add_single_dir (real_entry, 1);
|
|||
+ }
|
|||
+ }
|
|||
+ globfree (&globres);
|
|||
+ free (entry->path);
|
|||
+ free (entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ if (stat64 (entry->path, &stat_buf))
|
|||
+ {
|
|||
+ if (opt_verbose)
|
|||
+ error (0, errno, _("Can't stat %s"), entry->path);
|
|||
+ free (entry->path);
|
|||
+ free (entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ entry->ino = stat_buf.st_ino;
|
|||
+ entry->dev = stat_buf.st_dev;
|
|||
|
|||
- add_single_dir (entry, 1);
|
|||
+ add_single_dir (entry, 1);
|
|||
+ }
|
|||
+ }
|
|||
} |
|||
|
|||
|
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/no_rquota_x.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
A newer (better) rquota.x / rquota.h comes with the 'quota' package. |
|||
|
|||
--- ./sunrpc/Makefile.orig 2003-01-08 11:58:25.000000000 +0100
|
|||
+++ ./sunrpc/Makefile 2003-01-08 11:58:40.000000000 +0100
|
|||
@@ -46,7 +46,7 @@
|
|||
|
|||
rpcsvc = bootparam_prot.x nlm_prot.x rstat.x \ |
|||
yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ |
|||
- rusers.x spray.x nfs_prot.x rquota.x key_prot.x
|
|||
+ rusers.x spray.x nfs_prot.x key_prot.x
|
|||
headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \ |
|||
pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \ |
|||
svc_auth.h types.h xdr.h auth_des.h \ |
|||
@ -1,63 +0,0 @@ |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/nscd.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# An example Name Service Cache config file. This file is needed by nscd. |
|||
# |
|||
# Legal entries are: |
|||
# |
|||
# logfile <file> |
|||
# debug-level <level> |
|||
# threads <#threads to use> |
|||
# |
|||
# enable-cache <service> <yes|no> |
|||
# positive-time-to-live <service> <time in seconds> |
|||
# negative-time-to-live <service> <time in seconds> |
|||
# suggested-size <service> <prime number> |
|||
# check-files <service> <yes|no> |
|||
# |
|||
# Currently supported cache names (services): passwd, group, hosts |
|||
# |
|||
|
|||
|
|||
# logfile /var/log/nscd.log |
|||
# threads 6 |
|||
|
|||
debug-level 0 |
|||
|
|||
enable-cache passwd yes |
|||
positive-time-to-live passwd 600 |
|||
negative-time-to-live passwd 20 |
|||
suggested-size passwd 211 |
|||
check-files passwd yes |
|||
|
|||
enable-cache group yes |
|||
positive-time-to-live group 3600 |
|||
negative-time-to-live group 60 |
|||
suggested-size group 211 |
|||
check-files group yes |
|||
|
|||
enable-cache hosts yes |
|||
positive-time-to-live hosts 3600 |
|||
negative-time-to-live hosts 20 |
|||
suggested-size hosts 211 |
|||
check-files hosts yes |
|||
@ -1,43 +0,0 @@ |
|||
#!/bin/sh |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/nscd.init |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# Desc: Name Switch Cache Daemon |
|||
# Runlevel: 19 rcX |
|||
# |
|||
|
|||
main_begin |
|||
|
|||
block_begin(start, `Starting nscd.') |
|||
check(`/usr/sbin/nscd') |
|||
block_end |
|||
|
|||
block_begin(stop, `Stopping nscd.') |
|||
check(`/usr/sbin/nscd -K') |
|||
block_end |
|||
|
|||
block_begin(status) |
|||
check(`/usr/sbin/nscd -g') |
|||
block_end |
|||
|
|||
main_end |
|||
@ -1,39 +0,0 @@ |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc22/nsswitch.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# Example configuration of GNU Name Service Switch functionality. |
|||
# |
|||
|
|||
passwd: db files |
|||
group: db files |
|||
shadow: db files |
|||
|
|||
hosts: files dns |
|||
networks: files dns |
|||
|
|||
protocols: db files |
|||
services: db files |
|||
ethers: db files |
|||
rpc: db files |
|||
|
|||
netgroup: db files |
|||
@ -1,36 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/glibc23-cross/glibc23-cross.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1053756327 Sat May 24 08:05:27 2003 |
|||
[CONFIG-ID] 2.0.0-beta4-x86-athlon-reference |
|||
[ROCKVER] 2.0.0-beta4 |
|||
|
|||
[LOGS] 0-glibc23.log 1-glibc23.log 5-glibc23.log 9-glibc23.log |
|||
|
|||
[BUILDTIME] 147503 (9) |
|||
[SIZE] 46.78 MB, 2895 files |
|||
|
|||
[DEP] bash binutils bzip2 coreutils diffutils findutils freetype gawk |
|||
[DEP] gcc3 gettext glibc23 grep gzip libgd libjpeg libpng linux24-header |
|||
[DEP] linux24-src m4 make mktemp net-tools patch perl5 sed sysfiles tar |
|||
[DEP] texinfo util-linux xfree86 zlib |
|||
|
|||
@ -1,32 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23-cross/glibc23-cross.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
# include the cross configuration |
|||
. $base/package/base/gcc3-cross/cross.conf |
|||
|
|||
# include the functions the glibc23 package provides ... |
|||
. $base/package/base/glibc23/glibc23.conf |
|||
|
|||
# _but_ overwrite the custmain so we use the "install headers" |
|||
# function in all stages |
|||
custmain="glibc_stage0" |
|||
|
|||
@ -1,43 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/glibc23-cross/glibc23-cross.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU C library. |
|||
|
|||
[T] GNU C library (glibc) defines the ``system calls'' and other |
|||
[T] basic facilities such as open, malloc, printf, |
|||
[T] exit... It is used by almost all C programs and provides |
|||
[T] the most essential program interface. |
|||
|
|||
[U] http://www.gnu.org/software/libc/ The GLibc2 Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/library |
|||
[E] group libc |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.3.2 |
|||
[P] O 01---5---9 100.700 |
|||
|
|||
@ -1,35 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/attribute_hidden.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./libio/libio.h.orig Wed Nov 6 16:49:18 2002
|
|||
+++ ./libio/libio.h Wed Nov 6 16:51:19 2002
|
|||
@@ -102,6 +102,10 @@
|
|||
# endif |
|||
#endif |
|||
|
|||
+#ifndef attribute_hidden
|
|||
+# define attribute_hidden
|
|||
+#endif
|
|||
+
|
|||
#define _IOS_INPUT 1 |
|||
#define _IOS_OUTPUT 2 |
|||
#define _IOS_ATEND 4 |
|||
@ -1,34 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/config-400.hlp |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
MENU_PKG_GLIBC |
|||
Even more options for glibc. |
|||
|
|||
MENU_PKG_GLIBC |
|||
Several different versions of the glibc library may be built. |
|||
Among the shared and static version a special profiling version |
|||
is available. Enabling it will result in a library libc_p.a |
|||
suitable to profile glibc calls. It will also result in a longer |
|||
built-time for glibc. Most people don't need this library. |
|||
|
|||
ROCKCFG_PKG_GLIBC22_USEIT |
|||
Please check here if you want to use the old glibc Version 2.2. |
|||
@ -1,46 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/config-400.in |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
menu_begin MENU_PKG_GLIBC 'Glibc (GNU C Library) Options' |
|||
bool 'Enable profile library' ROCKCFG_PKG_GLIBC_ENABLE_PROFILE 0 " |
|||
Several different versions of the glibc library may be built. |
|||
Among the shared and static version a special profiling version |
|||
is available. Enabling it will result in a library libc_p.a |
|||
suitable to profile glibc calls. It will also result in a longer |
|||
built-time for glibc. Most people don't need this library." |
|||
|
|||
if pkgcheck glibc22 X && pkgcheck glibc23 X |
|||
then |
|||
comment '- Glibc 2.2.5 must be used if gcc2 is the c-compiler' |
|||
|
|||
if [ "$ROCKCFG_DEFAULT_CC" = "gcc2" ] ; then |
|||
ROCKCFGSET_PKG_GLIBC22_USEIT=1 |
|||
fi |
|||
bool 'Use glibc-2.2.5 instead of new glibc-2.3.x' \ |
|||
ROCKCFG_PKG_GLIBC22_USEIT 0 |
|||
|
|||
if [ "$ROCKCFG_PKG_GLIBC22_USEIT" = 1 ] ; then |
|||
pkgfilter sed -e '/ glibc23 / d' -e '/ glibc22 / s/^./X/' |
|||
fi |
|||
fi |
|||
menu_end |
|||
|
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/divdi3.patch.mips |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./sysdeps/mips/Makefile.orig Wed Sep 11 21:41:07 2002 |
|||
+++ ./sysdeps/mips/Makefile Wed Sep 11 21:44:54 2002 |
|||
@@ -6,3 +6,11 @@ |
|||
ifeq ($(subdir),setjmp) |
|||
sysdep_routines += setjmp_aux |
|||
endif |
|||
+ |
|||
+ifeq ($(subdir),csu) |
|||
+ifeq (yes,$(build-shared)) |
|||
+# Compatibility |
|||
+sysdep_routines += divdi3 |
|||
+shared-only-routines += divdi3 |
|||
+endif |
|||
+endif |
|||
@ -1,32 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/fl_wrapper_testfix.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./scripts/test-installation.pl.gv Fri Nov 15 13:20:48 2002
|
|||
+++ ./scripts/test-installation.pl Fri Nov 15 13:21:07 2002
|
|||
@@ -156,6 +156,7 @@
|
|||
open LDD, "ldd /tmp/test-prg$$ |" |
|||
or die ("Couldn't execute ldd"); |
|||
while (<LDD>) { |
|||
+ next if (/fl_wrapper/);
|
|||
if (/^\s*lib/) { |
|||
($name, $version1, $version2) = |
|||
/^\s*lib(\w*)\.so\.([0-9\.]*)\s*=>.*\.so\.([0-9\.]*)/; |
|||
@ -1,31 +0,0 @@ |
|||
|
|||
Glibc enforces the useage of gcc-3.x - unfortunately for header generation |
|||
dufing a cross toolchain build gcc-2 is also pretty fine. So flatten gcc-3 |
|||
only assumptions for cross builds. |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
diff -u glibc-2.3.4-2004-05-01/Makeconfig glibc-2.3.4-2004-05-01-fixed/Makeconfig |
|||
--- glibc-2.3.4-2004-05-01/Makeconfig 2004-04-18 00:38:24.000000000 +0200 |
|||
+++ glibc-2.3.4-2004-05-01-fixed/Makeconfig 2004-05-02 19:52:24.000000000 +0200 |
|||
@@ -580,7 +580,7 @@ |
|||
# The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy |
|||
# targets for headers so that removed headers don't break the build. |
|||
ifndef +mkdep |
|||
-+mkdep = $(CC) -M -MP |
|||
++mkdep = $(CC) -M |
|||
endif |
|||
|
|||
# The program that makes Emacs-style TAGS files. |
|||
diff -u glibc-2.3.4-2004-05-01/configure glibc-2.3.4-2004-05-01-fixed/configure |
|||
--- glibc-2.3.4-2004-05-01/configure 2004-04-18 00:39:58.000000000 +0200 |
|||
+++ glibc-2.3.4-2004-05-01-fixed/configure 2004-05-02 19:50:10.000000000 +0200 |
|||
@@ -4044,7 +4044,7 @@ |
|||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
|||
3.[2-9]*) |
|||
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; |
|||
- *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; |
|||
+ *) ac_prog_version="$ac_prog_version, bad (ignore)"; ac_verc_fail=no;; |
|||
|
|||
esac |
|||
echo "$as_me:$LINENO: result: $ac_prog_version" >&5 |
|||
@ -1,19 +0,0 @@ |
|||
|
|||
Older gcc (<3.4) are not able to honor the .rodata .section specification |
|||
correctly: |
|||
|
|||
../sysdeps/i386/i686/memcmp.S: Assembler messages: |
|||
../sysdeps/i386/i686/memcmp.S:390: Error: can't resolve `.rodata' |
|||
|
|||
Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- ./sysdeps/i386/i686/memcmp.S~ 2004-04-02 01:28:37.000000000 +0200
|
|||
+++ ./sysdeps/i386/i686/memcmp.S 2004-05-22 21:27:39.000000000 +0200
|
|||
@@ -351,7 +351,6 @@
|
|||
popl %esi |
|||
RETURN |
|||
|
|||
- .section .rodata
|
|||
ALIGN (2) |
|||
L(table_32bytes) : |
|||
.long L(0bytes) - . + 0x0 |
|||
@ -1,35 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/gcc33-hotfix.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
Clifford: The soinit.c thing is a workaroung for an x86_64 ICE. |
|||
|
|||
--- ./elf/soinit.c.orig Tue Feb 24 15:55:00 2004
|
|||
+++ ./elf/soinit.c Tue Feb 24 16:31:08 2004
|
|||
@@ -25,7 +25,7 @@
|
|||
} |
|||
|
|||
#ifdef HAVE_DWARF2_UNWIND_INFO |
|||
-static char __EH_FRAME_BEGIN__[]
|
|||
+const static char __EH_FRAME_BEGIN__[]
|
|||
__attribute__ ((section (".eh_frame"))) |
|||
= { }; |
|||
# ifdef HAVE_DWARF2_UNWIND_INFO_STATIC |
|||
@ -1,29 +0,0 @@ |
|||
|
|||
A GCC cross compiler does not yield a libgcc_eh.so. The GCC and GlibC team |
|||
should smoke their good stuff together (and the GlibC freaks be fet with a |
|||
book about release management ...). |
|||
|
|||
- Rene Rebe <rene@rocklinux.org> |
|||
|
|||
--- glibc-2.3.4-2004-05-01/Makeconfig 2004-04-18 00:38:24.000000000 +0200 |
|||
+++ glibc-2.3.4-2004-05-01-fixed/Makeconfig 2004-05-03 23:25:31.000000000 +0200 |
|||
@@ -518,16 +518,16 @@ |
|||
|
|||
ifndef gnulib |
|||
ifneq ($(have-as-needed),yes) |
|||
- libgcc_eh := -lgcc_eh |
|||
+ libgcc_eh := |
|||
else |
|||
libgcc_eh := -Wl,--as-needed -lgcc_s -Wl,--no-as-needed |
|||
endif |
|||
ifneq ($(have-cc-with-libunwind),yes) |
|||
gnulib := -lgcc $(libgcc_eh) |
|||
- static-gnulib := -lgcc -lgcc_eh |
|||
+ static-gnulib := -lgcc $(libgcc_eh) |
|||
else |
|||
gnulib := -lgcc $(libgcc_eh) -lunwind |
|||
- static-gnulib := -lgcc -lgcc_eh -lunwind |
|||
+ static-gnulib := -lgcc $(libgcc_eh) -lunwind |
|||
endif |
|||
endif |
|||
ifeq ($(elf),yes) |
|||
@ -1,43 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/glibc-2.2.2-mtrace-intl-perl.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Don't run this check if no perl is found on the system |
|||
|
|||
--- ./intl/Makefile~ Fri Feb 9 19:04:07 2001
|
|||
+++ ./intl/Makefile Mon Apr 30 14:21:10 2001
|
|||
@@ -53,6 +53,7 @@
|
|||
|
|||
ifeq (no,$(cross-compiling)) |
|||
ifeq (yes,$(build-shared)) |
|||
+ifneq (no,$(PERL))
|
|||
ifneq ($(strip $(MSGFMT)),:) |
|||
tests: $(objpfx)mtrace-tst-gettext $(objpfx)tst-translit.out \ |
|||
$(objpfx)tst-gettext2.out |
|||
@@ -65,6 +66,7 @@
|
|||
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/ |
|||
$(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2 |
|||
$(SHELL) -e $< $(common-objpfx) $(common-objpfx)intl/ |
|||
+endif
|
|||
endif |
|||
endif |
|||
endif |
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/glibc-2.2.2-test-lfs-timeout.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
set the timeout for Reiserfs to 120 seconds |
|||
|
|||
--- ./io/test-lfs.c~ Fri Feb 9 18:04:07 2001
|
|||
+++ ./io/test-lfs.c Sat Feb 17 04:30:18 2001
|
|||
@@ -34,7 +34,7 @@
|
|||
#define PREPARE do_prepare |
|||
|
|||
/* We might need a bit longer timeout. */ |
|||
-#define TIMEOUT 20 /* sec */
|
|||
+#define TIMEOUT 120 /* sec */
|
|||
|
|||
/* This defines the `main' function and some more. */ |
|||
#include <test-skeleton.c> |
|||
@ -1,67 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/glibc-2.2.3-string2.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Add explicit casts to make sure that "+ 2" and "+ 4" increments |
|||
to pointer byte-wise (and not 4-byte words or whatever else). |
|||
|
|||
--- ./string/bits/string2.h.old Tue Jun 12 12:52:46 2001
|
|||
+++ ./string/bits/string2.h Tue Jun 12 12:53:51 2001
|
|||
@@ -415,7 +415,7 @@
|
|||
break; |
|||
case 3: |
|||
__u->__usi = __src0_2; |
|||
- __u = __extension__ ((void *) __u + 2);
|
|||
+ __u = __extension__ (void *)((char *) __u + 2);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 4: |
|||
@@ -423,24 +423,24 @@
|
|||
break; |
|||
case 5: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 6: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__usi = __src4_2; |
|||
break; |
|||
case 7: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__usi = __src4_2; |
|||
- __u = __extension__ ((void *) __u + 2);
|
|||
+ __u = __extension__ (void *)((char *) __u + 2);
|
|||
__u->__uc = '\0'; |
|||
break; |
|||
case 8: |
|||
__u->__ui = __src0_4; |
|||
- __u = __extension__ ((void *) __u + 4);
|
|||
+ __u = __extension__ (void *)((char *) __u + 4);
|
|||
__u->__ui = __src4_4; |
|||
break; |
|||
} |
|||
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/glibc-2.3.1-timezone.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./timezone/solar87.orig 2002-12-16 22:50:28.000000000 +0100
|
|||
+++ ./timezone/solar87 2002-12-16 22:46:40.000000000 +0100
|
|||
@@ -382,7 +382,7 @@
|
|||
|
|||
# Zone NAME GMTOFF RULES/SAVE FORMAT [UNTIL] |
|||
Zone Asia/Riyadh87 3:07:04 - ?? 1987 |
|||
- 3:07:04 sol87 ?? 1988
|
|||
+# 3:07:04 sol87 ?? 1988
|
|||
3:07:04 - ?? |
|||
# For backward compatibility... |
|||
Link Asia/Riyadh87 Mideast/Riyadh87 |
|||
@ -1,36 +0,0 @@ |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/glibc23/glibc23.cache |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[TIMESTAMP] 1087210753 Mon Jun 14 12:59:13 2004 |
|||
[CONFIG-ID] 2.1.0-DEV-x86-reference-expert |
|||
[ROCKVER] 2.1.0-DEV |
|||
|
|||
[LOGS] 0-glibc23.log 1-glibc23.log 5-glibc23.log 9-glibc23.log |
|||
|
|||
[BUILDTIME] 254775 (9) |
|||
[SIZE] 67.90 MB, 3048 files |
|||
|
|||
[DEP] 00-dirtree autoconf bash binutils bzip2 ccache coreutils diffutils |
|||
[DEP] findutils freetype gawk gcc3 gettext grep gzip libjpeg libpng |
|||
[DEP] linux24-header linux24-src m4 make mktemp net-tools patch perl5 |
|||
[DEP] sed sysfiles tar texinfo util-linux xfree86 zlib |
|||
|
|||
@ -1,166 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/glibc23.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
if [ $pkg = glibc22 ] ; then |
|||
# auto-detect for the old glibc |
|||
ADDONS="" |
|||
else |
|||
# prevent the utilisation of nptl (...) - and enable it later |
|||
# if a 2.5/6 kernel is used |
|||
ADDONS="=linuxthreads" |
|||
fi |
|||
|
|||
# use at least "-O" when build without optimisation for debugging ... |
|||
var_insert GCC_WRAPPER_INSERT " " "-O" |
|||
|
|||
glibc_custmain() { |
|||
# check whether profiling is enabled |
|||
if [ $ROCKCFG_PKG_GLIBC_ENABLE_PROFILE = 1 ] ; then |
|||
G_PROFILE=--enable-profile |
|||
else |
|||
G_PROFILE=--disable-profile |
|||
fi |
|||
|
|||
# Let's use an 'objdir' directory for building glibc |
|||
mkdir -p objdir; cd objdir |
|||
|
|||
# Disable glibc internal debuging but build debuging and profile |
|||
# code so we can use this glibc to debug other programs. |
|||
CFLAGS="$CFLAGS -g -DNDEBUG=1" ../configure --prefix=$root/usr \ |
|||
--with-gnu-binutils --enable-add-ons"$ADDONS" $G_PROFILE \ |
|||
--with-headers=$root/usr/include/linux --with-gd=/usr \ |
|||
--with-gd-lib=/usr/lib --with-gd-include=/usr/include \ |
|||
--build=${arch_build} --host=${arch_target} |
|||
|
|||
eval $MAKE prefix=/usr slibdir=/lib sysconfdir=/etc all |
|||
eval $MAKE prefix=/usr slibdir=/lib \ |
|||
sysconfdir=/etc install_root=$root install |
|||
ln -sf libbsd-compat.a $root/usr/lib/libbsd.a |
|||
|
|||
# Misc. stuff |
|||
# |
|||
if [ $stagelevel -gt 1 ] ; then |
|||
|
|||
# install locales and linuxthread manpages |
|||
# |
|||
eval $MAKE localedata/install-locales |
|||
cp ../localedata/SUPPORTED $root/usr/share/i18n/ |
|||
mkdir -p $root/usr/share/man/man3 |
|||
if [ -f /usr/bin/perl ] ; then |
|||
eval $MAKE -C ../linuxthreads/man \ |
|||
MANDIR=$root/usr/share/man/man3 all install |
|||
fi |
|||
|
|||
# copy linuxthreads and crypt documentation |
|||
# |
|||
cp ../linuxthreads/ChangeLog $docdir/ChangeLog.threads |
|||
cp ../linuxthreads/Changes $docdir/Changes.threads |
|||
cp ../linuxthreads/README $docdir/README.threads |
|||
cp ../linuxthreads/FAQ.html $docdir/FAQ-threads.html |
|||
cp -r ../linuxthreads/Examples $docdir/examples.threads |
|||
cp ../crypt/README.ufc-crypt $docdir/README.crypt |
|||
|
|||
# NSCD Init script and config |
|||
# |
|||
cp $confdir/nscd.conf $confdir/nsswitch.conf $root/etc/ |
|||
install_init nscd $confdir/nscd.init |
|||
fi |
|||
|
|||
# No wrong absolute path in libc.so |
|||
# |
|||
if [ $stagelevel -le 1 ] ; then |
|||
libcso=$root/usr/lib/libc.so |
|||
sed 's,/[^ ]*/,,g' < $libcso > $libcso.new |
|||
mv $libcso.new $libcso |
|||
fi |
|||
|
|||
# Install ld.so.conf |
|||
# |
|||
{ echo "/usr/lib" ; echo "/usr/X11/lib" |
|||
echo "/usr/local/lib" ; echo "/opt/*/lib" |
|||
} > $root/etc/ld.so.conf |
|||
|
|||
# Move 'ldconfig' and 'sln' binaries |
|||
# |
|||
if [ -f "$root/usr/sbin/ldconfig" ] ; then |
|||
mv -v $root/usr/sbin/ldconfig $root/sbin/ldconfig |
|||
fi |
|||
if [ -f "$root/usr/sbin/sln" ] ; then |
|||
mv -v $root/usr/sbin/sln $root/sbin/sln |
|||
fi |
|||
|
|||
# Create /lib/ld-lsb.so.1 symlink |
|||
# |
|||
if |
|||
[ -f $root/lib/ld-linux-$arch_machine.so.2 ] |
|||
then |
|||
ln -vfs ld-linux-$arch_machine.so.2 $root/lib/ld-lsb.so.1 |
|||
elif |
|||
[ -f $root/lib/ld-linux.so.2 ] |
|||
then |
|||
ln -vfs ld-linux.so.2 $root/lib/ld-lsb.so.1 |
|||
fi |
|||
} |
|||
|
|||
glibc_prepatch() { |
|||
tarball="`echo $desc_D | grep linuxthreads | \ |
|||
sed 's/.* \(.*\.linuxthreads.*\) .*/\1/'`" |
|||
if [ "$tarball" ] ; then |
|||
tar $taropt $archdir/$tarball |
|||
fi |
|||
} |
|||
|
|||
glibc_stage0() { |
|||
mkdir -p objdir; cd objdir |
|||
|
|||
confopt="${confopt% --target=*}" |
|||
|
|||
var_append confopt " " "--enable-add-ons"$ADDONS" --build=\$arch_build \ |
|||
--host=\$arch_target" |
|||
|
|||
# due to assembler check - and we do not yet have as ... |
|||
[ $arch = hppa ] && var_append confopt " " "--enable-hacker-mode" |
|||
|
|||
eval "../configure --enable-add-ons"$ADDONS" $confopt" |
|||
|
|||
make -k cross-compiling=yes install-headers || true |
|||
|
|||
# make some final adaptions |
|||
cp -v ../include/features.h $root/$prefix/include |
|||
cp -v bits/stdio_lim.h $root/$prefix/include/bits |
|||
mkdir -p $root/$prefix/include/gnu |
|||
touch $root/$prefix/include/gnu/stubs.h |
|||
} |
|||
|
|||
threadsver="$ver" |
|||
prepatch="glibc_prepatch" |
|||
|
|||
if [ $stagelevel -eq 0 ]; then |
|||
custmain="glibc_stage0" |
|||
else |
|||
custmain="glibc_custmain" |
|||
fi |
|||
|
|||
if [ $stagelevel -eq 1 ]; then |
|||
var_append patchfiles " " $confdir/no_path_in_glibcso.diff |
|||
fi |
|||
|
|||
@ -1,48 +0,0 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/base/glibc23/glibc23.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] The GNU C library. |
|||
|
|||
[T] GNU C library (glibc) defines the ``system calls'' and other |
|||
[T] basic facilities such as open, malloc, printf, |
|||
[T] exit... It is used by almost all C programs and provides |
|||
[T] the most essential program interface. |
|||
|
|||
[U] http://www.gnu.org/software/libc/ The GLibc2 Homepage |
|||
|
|||
[A] The GNU Project / FSF |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] base/library |
|||
[E] group libc |
|||
[E] del libgd |
|||
|
|||
[L] GPL |
|||
[S] Stable |
|||
[V] 2.3.4-2004-05-01 |
|||
[P] X 01---5---9 101.600 |
|||
|
|||
#[D] 305952084 glibc-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ |
|||
#[D] 4056606041 glibc-linuxthreads-2.3.2.tar.bz2 ftp://sources.redhat.com/pub/glibc/releases/ |
|||
[D] X glibc-2.3.4-2004-05-01.tar.bz2 cvs://pserver:anoncvs@sources.redhat.com:/cvs/glibc::libc/!2004-05-01/ |
|||
|
|||
@ -1,46 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/initfini-ccwrapper.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
Make sure that the ROCK Linux CC Wrapper is not removing the CFLAGS |
|||
stored in CFLAGS-initfini.s and CFLAGS-pt-initfini.s. |
|||
|
|||
--- ./csu/Makefile.orig 2001-07-23 20:53:37.000000000 +0300
|
|||
+++ ./csu/Makefile 2002-06-23 09:25:47.000000000 +0300
|
|||
@@ -98,5 +98,6 @@
|
|||
|
|||
$(objpfx)initfini.s: initfini.c |
|||
- $(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \
|
|||
+ CC_WRAPPER_APPEND="$$CC_WRAPPER_APPEND $(CFLAGS-initfini.s)" \
|
|||
+ $(compile.c) -S -finhibit-size-directive \
|
|||
$(patsubst -f%,-fno-%,$(exceptions)) -o $@ |
|||
|
|||
--- ./linuxthreads/Makefile.orig 2002-01-21 05:21:14.000000000 +0200
|
|||
+++ ./linuxthreads/Makefile 2002-06-23 12:25:10.000000000 +0300
|
|||
@@ -105,5 +105,6 @@
|
|||
|
|||
$(objpfx)pt-initfini.s: pt-initfini.c |
|||
- $(compile.c) -S $(CFLAGS-pt-initfini.s) -finhibit-size-directive \
|
|||
+ CC_WRAPPER_APPEND="$$CC_WRAPPER_APPEND $(CFLAGS-pt-initfini.s)" \
|
|||
+ $(compile.c) -S -finhibit-size-directive \
|
|||
$(patsubst -f%,-fno-%,$(exceptions)) -o $@ |
|||
|
|||
@ -1,105 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/ldconfig-glob.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./elf/ldconfig.c.orig 2002-09-14 12:12:51.000000000 +0200
|
|||
+++ ./elf/ldconfig.c 2002-09-14 12:52:50.000000000 +0200
|
|||
@@ -23,6 +23,7 @@
|
|||
#include <elf.h> |
|||
#include <error.h> |
|||
#include <errno.h> |
|||
+#include <glob.h>
|
|||
#include <inttypes.h> |
|||
#include <libintl.h> |
|||
#include <stdio.h> |
|||
@@ -302,8 +303,10 @@
|
|||
{ |
|||
char *equal_sign; |
|||
struct dir_entry *entry; |
|||
+ struct dir_entry *real_entry;
|
|||
unsigned int i; |
|||
struct stat64 stat_buf; |
|||
+ glob_t globres;
|
|||
|
|||
entry = xmalloc (sizeof (struct dir_entry)); |
|||
entry->next = NULL; |
|||
@@ -338,19 +341,50 @@
|
|||
--i; |
|||
} |
|||
|
|||
- if (stat64 (entry->path, &stat_buf))
|
|||
- {
|
|||
- if (opt_verbose)
|
|||
- error (0, errno, _("Can't stat %s"), entry->path);
|
|||
- free (entry->path);
|
|||
- free (entry);
|
|||
- return;
|
|||
- }
|
|||
+ if ( glob(entry->path, GLOB_ONLYDIR, NULL, &globres) == 0 )
|
|||
+ {
|
|||
+ for (i=0; i<globres.gl_pathc; i++)
|
|||
+ {
|
|||
+ real_entry = xmalloc (sizeof (struct dir_entry));
|
|||
+ memcpy (real_entry, entry, sizeof (struct dir_entry));
|
|||
+ real_entry->path = xstrdup (globres.gl_pathv[i]);
|
|||
|
|||
- entry->ino = stat_buf.st_ino;
|
|||
- entry->dev = stat_buf.st_dev;
|
|||
+ if (stat64 (real_entry->path, &stat_buf))
|
|||
+ {
|
|||
+ if (opt_verbose)
|
|||
+ error (0, errno, _("Can't stat %s"), real_entry->path);
|
|||
+ free (real_entry->path);
|
|||
+ free (real_entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ real_entry->ino = stat_buf.st_ino;
|
|||
+ real_entry->dev = stat_buf.st_dev;
|
|||
+
|
|||
+ add_single_dir (real_entry, 1);
|
|||
+ }
|
|||
+ }
|
|||
+ globfree (&globres);
|
|||
+ free (entry->path);
|
|||
+ free (entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ if (stat64 (entry->path, &stat_buf))
|
|||
+ {
|
|||
+ if (opt_verbose)
|
|||
+ error (0, errno, _("Can't stat %s"), entry->path);
|
|||
+ free (entry->path);
|
|||
+ free (entry);
|
|||
+ }
|
|||
+ else
|
|||
+ {
|
|||
+ entry->ino = stat_buf.st_ino;
|
|||
+ entry->dev = stat_buf.st_dev;
|
|||
|
|||
- add_single_dir (entry, 1);
|
|||
+ add_single_dir (entry, 1);
|
|||
+ }
|
|||
+ }
|
|||
} |
|||
|
|||
|
|||
@ -1,46 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/make_shlib_link.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./Makerules.orig 2002-10-12 11:52:02.000000000 +0200
|
|||
+++ ./Makerules 2002-10-12 11:55:26.000000000 +0200
|
|||
@@ -820,8 +820,7 @@
|
|||
endif |
|||
ifndef make-shlib-link |
|||
define make-shlib-link |
|||
-rm -f $@
|
|||
-$(LN_S) $(<F) $@
|
|||
+ln -sf $(<F) $@
|
|||
endef |
|||
endif |
|||
|
|||
--- ./Makefile.orig 2002-10-13 16:13:47.000000000 +0200
|
|||
+++ ./Makefile 2002-10-13 16:16:26.000000000 +0200
|
|||
@@ -110,7 +110,8 @@
|
|||
install: install-symbolic-link |
|||
.PHONY: install-symbolic-link |
|||
install-symbolic-link: subdir_install |
|||
- $(symbolic-link-prog) $(symbolic-link-list)
|
|||
+ while read from to ; do \
|
|||
+ ln -sf $$from $$to ; done < $(symbolic-link-list)
|
|||
rm -f $(symbolic-link-list) |
|||
|
|||
install: |
|||
@ -1,35 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/no_path_in_glibcso.diff |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./Makerules.orig 2003-05-05 13:11:07.000000000 +0200
|
|||
+++ ./Makerules 2003-05-05 13:11:10.000000000 +0200
|
|||
@@ -964,8 +964,8 @@
|
|||
echo ' Use the shared library, but some functions are only in';\ |
|||
echo ' the static library, so try that secondarily. */';\ |
|||
cat $<; \ |
|||
- echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
|
|||
- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
|
|||
+ echo 'GROUP ( libc.so$(libc.so-version)' \
|
|||
+ '$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
|
|||
')' \ |
|||
) > $@.new |
|||
mv -f $@.new $@ |
|||
@ -1,36 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/no_rquota_x.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
|
|||
A newer (better) rquota.x / rquota.h comes with the 'quota' package. |
|||
|
|||
--- ./sunrpc/Makefile.orig 2003-01-08 11:55:19.000000000 +0100
|
|||
+++ ./sunrpc/Makefile 2003-01-08 11:55:22.000000000 +0100
|
|||
@@ -46,7 +46,7 @@
|
|||
|
|||
rpcsvc = bootparam_prot.x nlm_prot.x rstat.x \ |
|||
yppasswd.x klm_prot.x rex.x sm_inter.x mount.x \ |
|||
- rusers.x spray.x nfs_prot.x rquota.x key_prot.x
|
|||
+ rusers.x spray.x nfs_prot.x key_prot.x
|
|||
headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \ |
|||
pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \ |
|||
svc_auth.h types.h xdr.h auth_des.h \ |
|||
@ -1,63 +0,0 @@ |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/nscd.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# An example Name Service Cache config file. This file is needed by nscd. |
|||
# |
|||
# Legal entries are: |
|||
# |
|||
# logfile <file> |
|||
# debug-level <level> |
|||
# threads <#threads to use> |
|||
# |
|||
# enable-cache <service> <yes|no> |
|||
# positive-time-to-live <service> <time in seconds> |
|||
# negative-time-to-live <service> <time in seconds> |
|||
# suggested-size <service> <prime number> |
|||
# check-files <service> <yes|no> |
|||
# |
|||
# Currently supported cache names (services): passwd, group, hosts |
|||
# |
|||
|
|||
|
|||
# logfile /var/log/nscd.log |
|||
# threads 6 |
|||
|
|||
debug-level 0 |
|||
|
|||
enable-cache passwd yes |
|||
positive-time-to-live passwd 600 |
|||
negative-time-to-live passwd 20 |
|||
suggested-size passwd 211 |
|||
check-files passwd yes |
|||
|
|||
enable-cache group yes |
|||
positive-time-to-live group 3600 |
|||
negative-time-to-live group 60 |
|||
suggested-size group 211 |
|||
check-files group yes |
|||
|
|||
enable-cache hosts yes |
|||
positive-time-to-live hosts 3600 |
|||
negative-time-to-live hosts 20 |
|||
suggested-size hosts 211 |
|||
check-files hosts yes |
|||
@ -1,43 +0,0 @@ |
|||
#!/bin/sh |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/nscd.init |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# Desc: Name Switch Cache Daemon |
|||
# Runlevel: 19 rcX |
|||
# |
|||
|
|||
main_begin |
|||
|
|||
block_begin(start, `Starting nscd.') |
|||
check(`/usr/sbin/nscd') |
|||
block_end |
|||
|
|||
block_begin(stop, `Stopping nscd.') |
|||
check(`/usr/sbin/nscd -K') |
|||
block_end |
|||
|
|||
block_begin(status) |
|||
check(`/usr/sbin/nscd -g') |
|||
block_end |
|||
|
|||
main_end |
|||
@ -1,39 +0,0 @@ |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/nsswitch.conf |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
# |
|||
# Example configuration of GNU Name Service Switch functionality. |
|||
# |
|||
|
|||
passwd: db files |
|||
group: db files |
|||
shadow: db files |
|||
|
|||
hosts: files dns |
|||
networks: files dns |
|||
|
|||
protocols: db files |
|||
services: db files |
|||
ethers: db files |
|||
rpc: db files |
|||
|
|||
netgroup: db files |
|||
@ -1,37 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/pentium23_fix.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- ./sysdeps/unix/sysv/linux/i386/sysdep.h.orig 2003-01-08 12:38:31.000000000 +0100
|
|||
+++ ./sysdeps/unix/sysv/linux/i386/sysdep.h 2003-01-08 12:41:09.000000000 +0100
|
|||
@@ -35,6 +35,12 @@
|
|||
|
|||
#ifdef __ASSEMBLER__ |
|||
|
|||
+/* __i686 is used in assembler code below as normal text within a statement.
|
|||
+ When optimizing for pentium2 or pentium3, gcc defines __i686 as cpp macro
|
|||
+ which destroys the code below. Glibc is only using the cpp macro __i686__,
|
|||
+ so we can savely undefine __i686 here. - Clifford Wolf */
|
|||
+#undef __i686
|
|||
+
|
|||
/* Linux uses a negative return value to indicate syscall errors, |
|||
unlike most Unices, which use the condition codes' carry flag. |
|||
|
|||
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/glibc23/sparc-gdb_fix.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h.orig 2003-08-03 19:45:12.000000000 +0000
|
|||
+++ glibc-2.3.2/sysdeps/unix/sysv/linux/sparc/sys/ucontext.h 2003-08-03 19:47:29.000000000 +0000
|
|||
@@ -19,6 +19,8 @@
|
|||
#ifndef _SYS_UCONTEXT_H |
|||
#define _SYS_UCONTEXT_H 1 |
|||
|
|||
+#ifdef __GLIBC__
|
|||
+
|
|||
#include <features.h> |
|||
#include <signal.h> |
|||
#include <bits/wordsize.h> |
|||
@@ -267,4 +269,5 @@
|
|||
} ucontext_t; |
|||
|
|||
#endif /* __WORDSIZE == 32 */ |
|||
+#endif /* __GLIBC__ */
|
|||
#endif /* sys/ucontext.h */ |
|||