<p>I'm useing gcc-aarch64-linux-gnu。 When my code include this commit, it arise <strong>asm</strong> error....<br>
When I revert this commit, it works well.</p>
<p>`/usr1/git/bootloader/ipxe/src # rpm -qi gcc-aarch64-linux-gnu<br>
Name        : gcc-aarch64-linux-gnu<br>
Version     : 4.8.5<br>
Release     : 16.el7.1<br>
Architecture: x86_64<br>
Install Date: Tue 10 Jul 2018 08:00:23 PM CST<br>
Group       : Development/Tools<br>
Size        : 24674485<br>
License     : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD<br>
Signature   : RSA/SHA256, Thu 29 Jun 2017 03:16:05 AM CST, Key ID 6a2faea2352c64e5<br>
Source RPM  : cross-gcc-4.8.5-16.el7.1.src.rpm<br>
Build Date  : Wed 28 Jun 2017 10:28:50 PM CST<br>
Build Host  : buildhw-09.phx2.fedoraproject.org<br>
Relocations : (not relocatable)<br>
Packager    : Fedora Project<br>
Vendor      : Fedora Project<br>
URL         : <a href="http://gcc.gnu.org" rel="nofollow">http://gcc.gnu.org</a><br>
Summary     : Cross-build binary utilities for aarch64-linux-gnu<br>
Description :<br>
Cross-build GNU C compiler.</p>
<p>Only building kernels is currently supported.  Support for cross-building<br>
user space programs is not currently provided as that would massively multiply<br>
the number of packages.</p>
<p>/usr1/git/bootloader/ipxe/src #<br>
/usr1/git/bootloader/ipxe/src #<br>
/usr1/git/bootloader/ipxe/src # make CROSS=aarch64-linux-gnu- bin-arm64-efi/snponly.efi<br>
[BUILD] bin-arm64-efi/xfer.o<br>
In file included from core/xfer.c:29:0:<br>
core/xfer.c: In function ‘xfer_deliver’:<br>
include/errno.h:261:2: error: invalid 'asm': invalid operand prefix '%c'<br>
<strong>asm</strong> ( ".section ".einfo", "", " PROGBITS_OPS "\n\t" <br>
^<br>
include/errno.h:619:15: note: in expansion of macro ‘__einfo_error’<br>
#define EPIPE __einfo_error ( EINFO_EPIPE )<br>
^<br>
core/xfer.c:210:9: note: in expansion of macro ‘EPIPE’<br>
rc = -EPIPE;<br>
^<br>
include/errno.h:261:2: error: invalid 'asm': invalid operand prefix '%c'<br>
<strong>asm</strong> ( ".section ".einfo", "", " PROGBITS_OPS "\n\t" <br>
^<br>
include/errno.h:619:15: note: in expansion of macro ‘__einfo_error’<br>
#define EPIPE __einfo_error ( EINFO_EPIPE )<br>
^<br>
core/xfer.c:210:9: note: in expansion of macro ‘EPIPE’<br>
rc = -EPIPE;<br>
^<br>
core/xfer.c: At top level:<br>
cc1: error: unrecognized command line option "-Wno-address-of-packed-member" [-Werror]<br>
cc1: all warnings being treated as errors<br>
make: *** [bin-arm64-efi/xfer.o] Error 1<br>
/usr1/git/bootloader/ipxe/src #<br>
`</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/commit/3fb3ffccea717ce10bb29dfd8a9e761c7387626e?email_source=notifications&email_token=AAFNGVDSEZJBFNKZDHDHWFDQCGDJPA5CNFSM4IIGKSP2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBA5KZZ#commitcomment-34515769">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVGRFFJBC5325UJKPCLQCGDJPANCNFSM4IIGKSPQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAFNGVELC6WT6ZOBLKMRYJDQCGDJPA5CNFSM4IIGKSP2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBA5KZZ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/commit/3fb3ffccea717ce10bb29dfd8a9e761c7387626e?email_source=notifications\u0026email_token=AAFNGVDSEZJBFNKZDHDHWFDQCGDJPA5CNFSM4IIGKSP2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBA5KZZ#commitcomment-34515769",
"url": "https://github.com/ipxe/ipxe/commit/3fb3ffccea717ce10bb29dfd8a9e761c7387626e?email_source=notifications\u0026email_token=AAFNGVDSEZJBFNKZDHDHWFDQCGDJPA5CNFSM4IIGKSP2YY3PNVWWK3TUL52HS4DFVVBW63LNNF2EG33NNVSW45FKMNXW23LFNZ2F62LEZYBA5KZZ#commitcomment-34515769",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>