Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546992 - sys-apps/ucspi-ssl-0.94: -m64 is added to compile on x86 systems
Summary: sys-apps/ucspi-ssl-0.94: -m64 is added to compile on x86 systems
Status: RESOLVED DUPLICATE of bug 545682
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Efros
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-18 10:27 UTC by Pacho Ramos
Modified: 2015-04-20 05:39 UTC (History)
2 users (show)

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


Attachments
build.log (a7c2e8462091.txt,15.44 KB, text/plain)
2015-04-18 10:27 UTC, Pacho Ramos
Details
ucspi-ssl-0.94-verbose.patch (ucspi-ssl-0.94-verbose.patch,408 bytes, patch)
2015-04-18 21:04 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-04-18 10:27:28 UTC
Created attachment 401548 [details]
build.log

I get:
./makelib dns.a  dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o dns_ip6.o dns_ipq.o \
dns_ipq6.o dns_name.o dns_nd.o dns_nd6.o dns_packet.o dns_random.o dns_rcip.o \
dns_rcrw.o dns_resolve.o dns_sortip.o dns_sortip6.o dns_transmit.o dns_txt.o
cc -O2 -march=native -pipe -fno-stack-protector   -c -o auto-str.o auto-str.c
auto-str.c:7:6: warning: conflicting types for built-in function ‘puts’ [enabled by default]
 void puts(const char *s)
      ^
./load auto-str unix.a 
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libgcc_s.so when searching for -lgcc_s
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../libc.so when searching for -lc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../libc.a when searching for -lc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/libgcc_s.so when searching for -lgcc_s
/usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
Makefile:16: recipe for target 'auto-str' failed
make: *** [auto-str] Error 1
Comment 1 Pacho Ramos gentoo-dev 2015-04-18 10:27:53 UTC
Portage 2.2.18 (python 2.7.9-final-0, default/linux/x86/13.0/desktop/gnome/systemd, gcc-4.8.4, glibc-2.19-r1, 3.18.11-gentoo i686)
=================================================================
System uname: Linux-3.18.11-gentoo-i686-Intel-R-_Core-TM-_i7-3537U_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     8052328 total,    273960 free
KiB Swap:    4607996 total,   4468320 free
Timestamp of repository gentoo: Sat, 18 Apr 2015 07:30:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.19-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-stack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session socialweb spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xcb xml xv xvid zlib" ABI_X86="32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Alex Efros 2015-04-18 13:25:10 UTC
I've just tried to upgrade from gcc-4.8.3 to ~ARCH gcc-4.8.4 on x86 and compile ucspi-ssl - everything works fine. Below is info for this x86 system, please compare it to yours - maybe you'll have an ideas what else I can try to reproduce this error.


Portage 2.2.14 (python 3.3.5-final-0, hardened/linux/x86, gcc-4.8.4, glibc-2.19-r1, 3.18.9-hardened i686)
=================================================================
System uname: Linux-3.18.9-hardened-i686-Intel-R-_Xeon-R-_CPU_X5680_@_3.33GHz-with-gentoo-2.2
KiB Mem:    16612596 total,   3480940 free
KiB Swap:    4194300 total,   4176796 free
Timestamp of tree: Tue, 07 Apr 2015 20:45:02 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo powerman local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /service /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/log /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage-distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.modulix.net/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j25"
PKGDIR="/usr/portage-packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/powerman /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="adns aes bash-completion berkdb bzip2 caps cli cracklib crypt cxx dri fontconfig gdbm gif gnutls gpg hardened iconv icu idn ipv6 jpeg jpeg2k libav mbox mmx mmxext mng modules ncurses network-cron nls nptl openmp pam pax_kernel pcre perl pic png popcnt readline session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg tcpd tiff truetype udev unicode urandom vim-syntax x86 xattr xtpax zlib" ABI_X86="32" 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" APACHE2_MODULES="log_config vhost_alias autoindex alias rewrite dir deflate filter mime negotiation auth_basic authn_file authz_host authz_user authz_groupfile cgi actions headers env setenvif" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi fancyindex" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 3 Pacho Ramos gentoo-dev 2015-04-18 13:44:54 UTC
As it fails in x86/ppc/ppc64 chroots, maybe something broke when updating gcc on them... but I don't know what :S
Comment 4 Pacho Ramos gentoo-dev 2015-04-18 13:47:29 UTC
[ebuild   R    ] sys-devel/gcc-4.8.4:4.8::gentoo  USE="cxx fortran nls nptl openmp sanitize (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multilib) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 KiB
Comment 5 Alex Efros 2015-04-18 14:03:54 UTC
[ebuild   R   ~] sys-devel/gcc-4.8.4:4.8  USE="cxx hardened nls nptl openmp (-altivec) -awt -doc (-fixed-point) -fortran -gcj -go -graphite (-libssp) -mudflap (-multilib) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test (-sanitize) -vanilla" 0 KiB

Maybe it's because of your USE=sanitize? I can't enable it.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2015-04-18 19:34:17 UTC
Nope.  That wouldn't change anything.
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2015-04-18 19:40:26 UTC
What are the contents of compile, makelib, and load?
Comment 8 Pacho Ramos gentoo-dev 2015-04-18 20:47:17 UTC
# cat compile 
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec gcc -O2 -march=native -pipe -fno-stack-protector   -c ${1+"$@"}
# cat makelib 
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
rm -f "$main"
ar cr "$main" ${1+"$@"}
ranlib "$main"
# cat load
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
main="$1"; shift
exec i686-pc-linux-gnu-gcc  -m64 -Wl,-O1 -Wl,--as-needed -o "$main" "$main".o ${1+"$@"}
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2015-04-18 21:01:10 UTC
(In reply to Pacho Ramos from comment #8)

> # cat load
> #!/bin/sh
> # WARNING: This file was auto-generated. Do not edit!
> main="$1"; shift
> exec i686-pc-linux-gnu-gcc  -m64 -Wl,-O1 -Wl,--as-needed -o "$main"
                              ^^^^

There it is.  I don't think the way qmail.eclass is setting up conf-ld is correct.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2015-04-18 21:04:56 UTC
Created attachment 401574 [details, diff]
ucspi-ssl-0.94-verbose.patch

Also maintainer please apply to this package and probably the other ucspi-* stuff as well.  See also bug #430082.
Comment 11 Alex Efros 2015-04-19 02:09:40 UTC
I think this issue was already fixed (was reported on HPPA). I've uploaded fixed ebuild a couple of days ago: https://bugs.gentoo.org/show_bug.cgi?id=516868#c19

Anyway, more verbose output is good to have, I'll add the patch and upload ebuild once again. Am I correctly assume workflow is to replace one ebuild with another with same file name (i.e. without incrementing -r1) in such cases?
Comment 12 Alex Efros 2015-04-19 02:22:02 UTC
(In reply to Ryan Hill from comment #10)
> Also maintainer please apply to this package and probably the other ucspi-*
> stuff as well.  See also bug #430082.

Applied to ucspi-ssl, updated ebuild at bug 516868. But I'm not a maintainer of other ucspi-* stuff.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2015-04-19 06:31:19 UTC
*ucspi-ssl-0.94-r1 (19 Apr 2015)

  19 Apr 2015; Ian Delaney <idella4@gentoo.org> +ucspi-ssl-0.94-r1.ebuild,
  +files/ucspi-ssl-0.94-verbose.patch:
  revbump; patch to fix deficit in qmail eclass wrt Bugs #516868 #546992

revbumped mainly due to many of the arches already passed stable testing. (Don't know how that happened)
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-20 05:39:12 UTC

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