The following message is displayed and fails to compile. libtool: compile: i686-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/mpi -I.. -I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/src -D_THREAD_SAFE -O2 -march=i686 -pipe -fvisibility=hidden -Wall -c /var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/mpi/ec-ed25519.c -fPIC -DPIC -o .libs/ec-ed25519.o /bin/sh ../libtool --mode=compile i686-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/mpi -I.. -I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/src -D_THREAD_SAFE -Wa,--noexecstack -O2 -march=i686 -pipe -c -o mpih-sub1-asm.lo mpih-sub1-asm.S libtool: compile: i686-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/mpi -I.. -I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/src -D_THREAD_SAFE -Wa,--noexecstack -O2 -march=i686 -pipe -c mpih-add1-asm.S -fPIC -DPIC -o .libs/mpih-add1-asm.o mpih-add1-asm.S: Assembler messages: mpih-add1-asm.S:44: Error: alignment not a power of 2 mpih-add1-asm.S:79: Error: alignment not a power of 2 Makefile:520: recipe for target 'mpih-add1-asm.lo' failed gmake[2]: *** [mpih-add1-asm.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... libtool: compile: i686-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/mpi -I.. -I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0/src -D_THREAD_SAFE -Wa,--noexecstack -O2 -march=i686 -pipe -c mpih-sub1-asm.S -fPIC -DPIC -o .libs/mpih-sub1-asm.o mpih-sub1-asm.S: Assembler messages: mpih-sub1-asm.S:45: Error: alignment not a power of 2 mpih-sub1-asm.S:80: Error: alignment not a power of 2 Makefile:520: recipe for target 'mpih-sub1-asm.lo' failed gmake[2]: *** [mpih-sub1-asm.lo] Error 1 gmake[2]: Leaving directory '/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0_build/mpi' Makefile:409: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/dev-libs/libgcrypt-1.6.0/work/libgcrypt-1.6.0_build' Makefile:340: recipe for target 'all' failed gmake: *** [all] Error 2
Created attachment 365674 [details, diff] sample patch for libgcrypt-1.6.0.ebuild FYI, http://svnweb.freebsd.org/ports/head/security/libgcrypt/Makefile?r1=281921&r2=285106
Created attachment 376214 [details, diff] patch for mpi/config.links
this still occur in the latest 1.6 builds?
(In reply to Matthew Thode ( prometheanfire ) from comment #3) > this still occur in the latest 1.6 builds? And if the issue persists; has this issue been reported upstream? if so please include a link to the bug report or mailing list thread.
(In reply to Matthew Thode ( prometheanfire ) from comment #3) > this still occur in the latest 1.6 builds? I can confirm that 1.6.3 builds without issue here. (Hadn't checked any others)
(In reply to NP-Hardass from comment #5) > (In reply to Matthew Thode ( prometheanfire ) from comment #3) > > this still occur in the latest 1.6 builds? > > I can confirm that 1.6.3 builds without issue here. (Hadn't checked any > others) Ignore that, I was using amd64. Yuta Satoh still has failure on this for x86 for libgcrypt-1.6.3
Added upstream bug URL.
Does this issue persist in libgcrypt 1.6.3 ?
(In reply to Kristian Fiskerstrand from comment #8) > Does this issue persist in libgcrypt 1.6.3 ? Sorry about that, it is fixed upstream in [0], but waiting for them to cut a new release. When I read the message of a fix I didn't realize it was added yesterday, and there are too many patches to backport for this issue individually. References: [0] http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff;h=a36ee7501f68ad7ebcfe31f9659430b9d2c3ddd1;hp=2bddd947fd1c11b4ec461576db65a5e34fea1b07
As this patch applies cleanly and isn't affected by the other changes to the 1.6 branch, fixed in tree. +*libgcrypt-1.6.3-r3 (28 Jun 2015) + + 28 Jun 2015; Kristian Fiskerstrand <k_f@gentoo.org> + +files/libgcrypt-1.6.3-freebsd-mpi.patch, +libgcrypt-1.6.3-r3.ebuild, + -files/libgcrypt-1.6.0-serial-tests.patch, + -files/libgcrypt-1.6.1-x32-compat.patch, -libgcrypt-1.6.1-r2.ebuild, + -libgcrypt-1.6.2.ebuild, -libgcrypt-1.6.3-r2.ebuild, -libgcrypt-1.6.3.ebuild: + Fix compile issue on fbsd (bug #494740). Cleanup old. +