

Code: Select all
setup-allowed-flags() {
if [[ -z ${ALLOWED_FLAGS} ]] ; then
export ALLOWED_FLAGS="-pipe"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -O -O0 -O1 -O2 -O3 -mcpu -march -mtune"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fstack-protector -fstack-protector-all"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fbounds-checking -fno-bounds-checking"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-PIE -fno-pie -fno-unit-at-a-time"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g0 -g1 -g2 -g3 -ggdb -ggdb0 -ggdb1 -ggdb2 -ggdb3"
export ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-ident"
fi
#RDH Allow my C flags.
ALLOWED_FLAGS="${ALLOWED_FLAGS} -D -pipe -fomit-frame-pointer -mssse3 -msse3"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -fweb -frename-registers -momit-leaf-frame-pointer"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -funroll-loops -freorder-blocks -fprefetch-loop-arrays -ftracer"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -fmodulo-sched -fgcse-lm -fgcse-sm -fgcse-las -fgcse-after-reload"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -peel-loops"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -ftree-loop-im -ftree-loop-linear -ftree-loop-ivcanon -ftree-vectorize"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -fvariable-expansion-in-unroller -combine -save-temps"
# allow a bunch of flags that negate features / control ABI
ALLOWED_FLAGS="${ALLOWED_FLAGS} -fno-stack-protector -fno-stack-protector-all"
ALLOWED_FLAGS="${ALLOWED_FLAGS} -mregparm -mno-app-regs -mapp-regs \
-mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-3dnow \
-mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 \



Code: Select all
LDFLAGS="-Wl,--sort-common -Wl,-zcombreloc -Wl,-znow"
# -DENABLE_CHECKING=1 for gcc builds
CFLAGS="-pipe -fomit-frame-pointer -g1"
#CFLAGS="${CFLAGS} -combine"
CXXFLAGS="${CFLAGS}"
#GCC setup:Note:x64 compiler defaults to -msse -msse2 -fpmath=sse
#CFLAGS="${CFLAGS} -march=nocona -msse3 -O2"
CFLAGS="${CFLAGS} -march=core2 -O2"
#CFLAGS="${CFLAGS} -mno-ssse3"
CFLAGS="${CFLAGS} -frename-registers"
CFLAGS="${CFLAGS} -fweb"
CFLAGS="${CFLAGS} -ftracer"
CFLAGS="${CFLAGS} -fmodulo-sched"
#CFLAGS="${CFLAGS} -freschedule-modulo-scheduled-loops"
CFLAGS="${CFLAGS} -fvariable-expansion-in-unroller"
CFLAGS="${CFLAGS} -fgcse-sm"
CFLAGS="${CFLAGS} -fgcse-las"
#CFLAGS="${CFLAGS} -fgcse-after-reload"
#CFLAGS="$(CFLAGS} -fnew-ra"
CFLAGS="${CFLAGS} -ftree-vectorize"
#CFLAGS="${CFLAGS} -ftree-loop-im"
#CFLAGS="${CFLAGS} -ftree-loop-linear"
#CFLAGS="${CFLAGS} -ftree-loop-ivcanon"
#CFLAGS="${CFLAGS} -frtl-abstract-sequences"
#CFLAGS="${CFLAGS} -fpeel-loops"
CXXFLAGS="${CFLAGS}"
#SEH not like rb&p below in C++ flags outputs nag warning.
CFLAGS="${CFLAGS} -freorder-blocks-and-partition"
Code: Select all
media-libs/libmad-0.15.1b-r2
media-gfx/povray-3.6.1-r1
media-libs/netpbm-10.36.0
media-libs/gle-3.1.0-r1
dev-util/kdesvn-0.11.0
www-client/mozilla-firefox-2.0-r2

{standard input}: Assembler messages:
{standard input}Error: symbol `fstatat64' is already defined
{standard input}Error: symbol `fstat64' is already defined
{standard input}Error: symbol `lstat64' is already defined
{standard input}Error: symbol `stat64' is already defined
make[3]: *** [unix.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.98/work/build/i686-pc-linux-gnu/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.98/work/build/i686-pc-linux-gnu/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.98/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-4.3.98 failed.
Call stack:
ebuild.sh, line 1580: Called dyn_compile
ebuild.sh, line 945: Called src_compile
ebuild.sh, line 1269: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1536: Called gcc_do_make
toolchain.eclass, line 1410: Called die
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.


which patch do you mean with vipers' patch file ?12) cp Vipers 4.3.0-xxxxxx patch file and rename it 4.3.98

That's who has, not whom has. Whom is for the object of a sentence : the man with whom I spoke yesterday.Before I get started whom has a binutils






That's how I do it, but I usually copy over my make.conf, remove X and tk from my use flags, emerge -e system and emerge -e world before I do anything else. After that I do the whole kernel thing and get a basic system up, reboot, add X and tk back to my flags, emerge xorg-x11 and then emerge the packages I want.remix wrote:stage3, then emerge configure and compile your own kernel, change your cflags, and re-emerge system and world ?

Code: Select all
make[2]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
make[1]: Leaving directory `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc'
Configuring in i686-pc-linux-gnu/libstdc++-v3
creating cache ../config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for gawk... gawk
checking whether ln -s works... yes
checking for gcc... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
checking whether we are using GNU C... yes
checking whether /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/xgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
checking for c++... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
checking whether we are using GNU C++... yes
checking whether /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
checking for GCC version number... 3.3.6
checking for strerror in -lcposix... no
checking for as... as
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
CPU config directory is cpu/i486
OS config directory is os/gnu-linux
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependant libraries... pass_all
checking for object suffix... configure: error: installation or configuration problem; compiler does not work
make: *** [configure-target-libstdc++-v3] Error 1
!!! ERROR: sys-libs/libstdc++-v3-3.3.6 failed.
Call stack:
ebuild.sh, line 1603: Called dyn_compile
ebuild.sh, line 961: Called src_compile
libstdc++-v3-3.3.6.ebuild, line 233: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

I would stick to gcc 4.2, gcc 4.3 at the moment only really benefits to core2 users (new architecture)sonicbhoc wrote: In any event, would there be any point in someone using a PentiumIII computer upgrading to GCC 4.3 other than saying "hey guyz I have the latest version I'm 1337 too lololo"?