Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403197 - dev-libs/crypto++ fails to build with gcc-4.7
Summary: dev-libs/crypto++ fails to build with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL: http://sourceforge.net/apps/trac/cryp...
Whiteboard:
Keywords:
: 422037 430966 446008 (view as bug list)
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-02-11 18:04 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2013-02-19 19:24 UTC (History)
6 users (show)

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


Attachments
build log (crypto++-5.6.1-r3:20120211-175913.log,3.37 KB, text/plain)
2012-02-11 18:04 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details
patch fix gcc-4.7.1 compile error (crypto++-5.6.1-gcc.patch,4.18 KB, patch)
2012-06-16 07:13 UTC, Yixun Lan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-11 18:04:42 UTC
Created attachment 301583 [details]
build log

Portage 2.1.10.41 (default/linux/amd64/10.0, gcc-4.7.0-pre9999, glibc-2.13-r4, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-AMD_Opteron-tm-_Processor_6172-with-gentoo-2.0.3
Timestamp of tree: Fri, 10 Feb 2012 01:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1, 4.7.0_pre9999::x-portage
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j25"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/local/portage"
SYNC="rsync://ladon/gentoo-portage"
USE="acl amd64 bzip2 cracklib crypt cxx fortran fortran2003 gdbm gpm iconv mdev mmx mudflap multilib ncurses nls nptl nptlonly openmp pam png qt3support readline session sse sse2 ssl sysfs threads unicode vim-syntax xml zlib" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="mga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yixun Lan archtester gentoo-dev 2012-06-16 07:13:12 UTC
Created attachment 315475 [details, diff]
patch fix gcc-4.7.1 compile error

could you please try with my patch, this should fix 4.7.1 compile error.

although, with this patch I still found it link to 4.7.0 gcc, but that maybe another issue.
Comment 2 Tim Harder gentoo-dev 2012-06-23 21:33:19 UTC
*** Bug 422037 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2012-06-26 14:49:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add fix from upstream tracker for building with gcc-4.7
http://sources.gentoo.org/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/dev-libs/crypto++/files/crypto++-5.6.1-gcc-4.7.patch?rev=1.1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-04 23:18:42 UTC
*** Bug 446008 has been marked as a duplicate of this bug. ***
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2013-02-19 19:24:53 UTC
*** Bug 430966 has been marked as a duplicate of this bug. ***