Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246295 - gcc-4.3.2 fails to emerge due to broken softfloat patch
Summary: gcc-4.3.2 fails to emerge due to broken softfloat patch
Status: RESOLVED DUPLICATE of bug 228119
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 15:30 UTC by Jacob Godserv
Modified: 2008-11-10 17:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Update gcc-4.0.2-softfloat.patch for gcc-4.3.2 (gcc-4.0.2-softfloat.patch.patch,1.31 KB, patch)
2008-11-10 15:31 UTC, Jacob Godserv
Details | Diff
The fixed patchfile (gcc-4.0.2-softfloat.patch,2.87 KB, text/plain)
2008-11-10 15:33 UTC, Jacob Godserv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2008-11-10 15:30:06 UTC
The resulting log should look something like this:
...<snip>...
 * Applying Gentoo patches ...
 *   00_all_gcc-4.1-alpha-mieee-default.patch ...
  [ ok ]
 *   00_all_gcc-trampolinewarn.patch ...
  [ ok ]
 *   03_all_gcc43-java-nomulti.patch ...
  [ ok ]
 *   08_all_gcc-4.1-cross-compile.patch ...
  [ ok ]
 *   11_all_gcc-netbsd-symbolic.patch ...
  [ ok ]
 *   14_all_gcc-sparc64-bsd.patch ...
  [ ok ]
 *   18_all_904-flatten-switch-stmt-00.patch ...
  [ ok ]
 *   51_all_gcc-3.4-libiberty-pic.patch ...
  [ ok ]
 *   53_all_gcc4-superh-default-multilib.patch ...
  [ ok ]
 *   54_all_300-libstdc++-pic.patch ...
  [ ok ]
 *   61_all_gcc43-pr24170.patch ...
  [ ok ]
 *   61_all_gcc4-ia64-noteGNUstack.patch ...
  [ ok ]
 *   62_all_gcc4-noteGNUstack.patch ...
  [ ok ]
 *   64_all_gcc43-pr34571.patch ...
  [ ok ]
 *   66_all_gcc43-pr25343.patch ...
  [ ok ]
 *   74_all_sh-pr24836.patch ...
  [ ok ]
 *   75_all_mips-r10k-cache-barriers.patch ...
  [ ok ]
 *   76_all_mips-r10k-scheduling-support.patch ...
  [ ok ]
 * Done with patching
 * Applying uClibc patches ...
 *   90_all_103-uclibc-conf-noupstream.patch ...
  [ ok ]
 *   90_all_200-uclibc-locale.patch ...
  [ ok ]
 *   90_all_203-uclibc-locale-no__x.patch ...
  [ ok ]
 *   90_all_204-uclibc-locale-wchar_fix.patch ...
  [ ok ]
 *   90_all_205-uclibc-locale-update.patch ...
  [ ok ]
 *   90_all_301-missing-execinfo_h.patch ...
  [ ok ]
 *   90_all_303-c99-complex-ugly-hack.patch ...
  [ ok ]
 *   90_all_304-index_macro.patch ...
  [ ok ]
 *   90_all_305-libmudflap-susv3-legacy.patch ...
  [ ok ]
 *   90_all_306-libstdc++-namespace.patch ...
  [ ok ]
 * Done with patching
 * Replacing obsolete head/tail with POSIX compliant ones
 *  - fixed contrib/test_summary
 *  - fixed boehm-gc/configure
 *  - fixed fixincludes/configure
 *  - fixed gcc/configure
 *  - fixed gnattools/configure
 *  - fixed intl/configure
 *  - fixed libada/configure
 *  - fixed libcpp/configure
 *  - fixed libdecnumber/configure
 *  - fixed libffi/configure
 *  - fixed libgcc/configure
 *  - fixed libgfortran/configure
 *  - fixed libgomp/configure
 *  - fixed libiberty/configure
 *  - fixed libjava/configure
 *  - fixed libmudflap/configure
 *  - fixed libobjc/configure
 *  - fixed libssp/configure
 *  - fixed libstdc++-v3/configure
 *  - fixed zlib/configure
 *  - fixed ltmain.sh
 *  - fixed boehm-gc/Makefile.in
 *  - fixed fixincludes/Makefile.in
 *  - fixed gcc/Makefile.in
 *  - fixed gnattools/Makefile.in
 *  - fixed intl/Makefile.in
 *  - fixed libada/Makefile.in
 *  - fixed libcpp/Makefile.in
 *  - fixed libdecnumber/Makefile.in
 *  - fixed libffi/Makefile.in
 *  - fixed libgcc/Makefile.in
 *  - fixed libgfortran/Makefile.in
 *  - fixed libgomp/Makefile.in
 *  - fixed libiberty/Makefile.in
 *  - fixed libjava/Makefile.in
 *  - fixed libmudflap/Makefile.in
 *  - fixed libobjc/Makefile.in
 *  - fixed libssp/Makefile.in
 *  - fixed libstdc++-v3/Makefile.in
 *  - fixed zlib/Makefile.in
 * Running elibtoolize in: gcc-4.3.2
 *   Applying install-sh-1.5.4.patch ...
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 * Using GNU config files from /usr/share/libtool
 *   Updating libjava/libltdl/config.sub
  [ ok ]
 *   Updating libjava/classpath/config.sub
  [ ok ]
 *   Updating config.sub
  [ ok ]
 *   Updating libjava/libltdl/config.guess
  [ ok ]
 *   Updating libjava/classpath/config.guess
  [ ok ]
 *   Updating config.guess
  [ ok ]
 * Fixing misc issues in configure files
 * Applying gcc-configure-texinfo.patch ...
  [ ok ]
 * Touching generated files
 *   Touching gcc/cstamp-h.in
 *   Touching gcc/config.in
 *   Touching libjava/aclocal.m4
 *   Touching libjava/Makefile.in
 *   Touching libjava/configure
 * Applying gcc-4.0.2-softfloat.patch ...
<error here>

Unfortunately, reproducing this error would be a big pain, since I'd have to fiddle with some things and rerun a 2-hour compile to produce it. However, if you guys can't get the error, or the procedures here require I do it, I can certainly get the output for you guys.

The good news is, I have a fix! The patch that breaks the compile is merely out-of-sync with changes in the file, so I updated the patch. I'll attach it in the next comment.

If you guys need anything else, let me know.

Reproducible: Always

Steps to Reproduce:
All I had to do to create this error was run:
crossdev armv7a-softfloat-linux-gnueabi # requires 'emerge crossdev' first
Actual Results:  
gcc-4.0.2-softfloat.patch fails to apply correctly.

Expected Results:  
gcc-4.0.2-softfloat.patch applies correctly. :)

FWIW:

jacob@jacob-gdesktop ~ $ emerge --info
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Timestamp of tree: Mon, 10 Nov 2008 14:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa arts avahi berkdb cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype unicode vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" CAMERAS="canon ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="km2430" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

jacob@jacob-gdesktop ~ $ sudo crossdev armv7a-softfloat-linux-gnueabi -P --info
<...snip....>
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Timestamp of tree: Mon, 10 Nov 2008 14:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/cross/armv7a-softfloat-linux-gnueabi"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/cross/armv7a-softfloat-linux-gnueabi"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa arts avahi berkdb cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype unicode vorbis win32codecs x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" CAMERAS="canon ptp2" ELIBC="glibc" FOO2ZJS_DEVICES="km2430" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
<...snip...>
Comment 1 Jacob Godserv 2008-11-10 15:31:57 UTC
Created attachment 171311 [details, diff]
Update gcc-4.0.2-softfloat.patch for gcc-4.3.2

This patch patches the patch named gcc-4.0.2-softfloat.patch (say that three times fast).

If this patch isn't in the format you need, let me know.
Comment 2 Jacob Godserv 2008-11-10 15:33:09 UTC
Created attachment 171313 [details]
The fixed patchfile

This is the patchfile after gcc-4.0.2-softfloat.patch.patch is applied. Figured it would make your job easier if I provided the fixed version too. :)
Comment 3 SpanKY gentoo-dev 2008-11-10 17:03:52 UTC

*** This bug has been marked as a duplicate of bug 228119 ***