From owner-freebsd-arm@FreeBSD.ORG Mon Aug 5 13:40:31 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3C3D06DA for ; Mon, 5 Aug 2013 13:40:31 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 01FE02DEA for ; Mon, 5 Aug 2013 13:40:30 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h1so6146685oag.38 for ; Mon, 05 Aug 2013 06:40:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=6HItkJJwyk0cHw6+gjtlZtZyzBVjcid+BX3a3tbhySc=; b=bjX6FP+6pk791u7NbSoyHLD7pRuec/8aDzpHgwFTFeLR0VN4iyOmyIC63x9TaH7o0V JXKj6FacLwqUl3PMwPnwJnxFM8mQp1qUJRBazfwSaO9wYvwMA19Ku2NYmiq6vAL9onfH KRIL5c5XkXvwVPIQ8QqtSczu+/YQ8gl0vRHSJSQWrtJS+poaNSDtf//OUE3J8wXYgNJV NQSPDpfLRkk76rWStQH0tfbJZsiljt86IIimmVNBdTzrLQfY3ky8jd6gBAlV2yU65Y2k cvMexXPtN/plNZ78wLgB9aeBzd3QYnMDCZL/IzI1AjRCMwXwJL7uniFAUO+3ZCNzDN+W qwjQ== MIME-Version: 1.0 X-Received: by 10.60.83.75 with SMTP id o11mr14304424oey.45.1375710029758; Mon, 05 Aug 2013 06:40:29 -0700 (PDT) Received: by 10.182.111.67 with HTTP; Mon, 5 Aug 2013 06:40:29 -0700 (PDT) Date: Mon, 5 Aug 2013 07:40:29 -0600 Message-ID: Subject: problem compiling libgcrypt from ports From: Tom Everett To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQmQVYjv0iOCDo4Mxq9YfsE75FvYEAOeOqDGbPw8YCbPoSI4/oXDHbqjkaxVA85gYzMpRUSb Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 13:40:31 -0000 Perhaps this is not the right list, however this error did occur while compiling libgcrypt on a Raspberry Pi, running FreeBSD-CURRENT. mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:13: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./longlong.h:230:25: note: expanded from macro 'umul_ppmm' : "=&r" ((USItype)(xh)), \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:17: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./longlong.h:231:24: note: expanded from macro 'umul_ppmm' "=r" ((USItype)(xl)) \ ^ mpih-div.c:98:3: error: invalid % escape in inline assembly string UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:2: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:228:14: note: expanded from macro 'umul_ppmm' __asm__ ("%@ Inlined umul_ppmm\n" \ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:13: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./longlong.h:230:25: note: expanded from macro 'umul_ppmm' : "=&r" ((USItype)(xh)), \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:18: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./longlong.h:231:24: note: expanded from macro 'umul_ppmm' "=r" ((USItype)(xl)) \ ^ mpih-div.c:98:3: error: invalid % escape in inline assembly string UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:2: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:228:14: note: expanded from macro 'umul_ppmm' __asm__ ("%@ Inlined umul_ppmm\n" \ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:153:14: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:200:23: note: expanded from macro 'sub_ddmmss' : "=r" ((USItype)(sh)), \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:153:19: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:201:24: note: expanded from macro 'sub_ddmmss' "=&r" ((USItype)(sl)) \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:155:18: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, _xh, _r, 0, (d)); \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:200:23: note: expanded from macro 'sub_ddmmss' : "=r" ((USItype)(sh)), \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:155:23: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, _xh, _r, 0, (d)); \ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./longlong.h:201:24: note: expanded from macro 'sub_ddmmss' "=&r" ((USItype)(sl)) \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:158:15: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, _xh, _r, 0, (d)); \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:200:23: note: expanded from macro 'sub_ddmmss' : "=r" ((USItype)(sh)), \ ^ mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:158:20: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, _xh, _r, 0, (d)); \ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./longlong.h:201:24: note: expanded from macro 'sub_ddmmss' "=&r" ((USItype)(sl)) \ ^ mpih-div.c:104:6: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:13: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./longlong.h:230:25: note: expanded from macro 'umul_ppmm' : "=&r" ((USItype)(xh)), \ ^ mpih-div.c:104:6: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:17: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ./longlong.h:231:24: note: expanded from macro 'umul_ppmm' "=r" ((USItype)(xl)) \ ^ mpih-div.c:104:6: error: invalid % escape in inline assembly string UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:150:2: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_q, _ql, (nh), (di)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:228:14: note: expanded from macro 'umul_ppmm' __asm__ ("%@ Inlined umul_ppmm\n" \ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpih-div.c:104:6: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:13: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./longlong.h:230:25: note: expanded from macro 'umul_ppmm' : "=&r" ((USItype)(xh)), \ ^ mpih-div.c:104:6: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:18: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./longlong.h:231:24: note: expanded from macro 'umul_ppmm' "=r" ((USItype)(xl)) \ ^ mpih-div.c:104:6: error: invalid % escape in inline assembly string UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:152:2: note: expanded from macro 'UDIV_QRNND_PREINV' umul_ppmm (_xh, _xl, _q, (d)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:228:14: note: expanded from macro 'umul_ppmm' __asm__ ("%@ Inlined umul_ppmm\n" \ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpih-div.c:104:6: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions UDIV_QRNND_PREINV(dummy, r, r, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mpi-internal.h:153:14: note: expanded from macro 'UDIV_QRNND_PREINV' sub_ddmmss (_xh, _r, (nh), (nl), _xh, _xl); \ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./longlong.h:200:23: note: expanded from macro 'sub_ddmmss' : "=r" ((USItype)(sh)), \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [mpih-div.lo] Error code 1 make[3]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.5.2/mpi 1 error make[3]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.5.2/mpi *** [all-recursive] Error code 1 -- A better world shall emerge based on faith and understanding - Douglas MacArthur