[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
This bug was fixed in the package linux - 3.18.0-11.12 --- linux (3.18.0-11.12) vivid; urgency=low [ Leann Ogasawara ] * Release Tracking Bug - LP: #1414085 [ Andy Whitcroft ] * SAUCE: arm64 -- psci tell the compiler which registers we are needing values in - LP: #1414002 -- Leann Ogasawara leann.ogasaw...@canonical.com Fri, 23 Jan 2015 09:10:09 -0800 ** Changed in: linux (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: Fix Released Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
** Attachment added: P https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+attachment/4304447/+files/P -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: In Progress Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
** Changed in: linux (Ubuntu) Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: Fix Committed Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
Ok. So this is actually a bad piece of assembly triggering, a piece deliberatly placed in the code to catch the compiler not placing things in the registers we expected. Basically we are assuming the ABI placement. When mcount (-pg) is enabled, the compiler adds additional code inside the function and all bets are off. The approved mechanism is to inform the compiler of your constraints on the variables using the below form: int foo (int _arg) { register int arg asm(r0) = _arg; [...] } ** Changed in: linux (Ubuntu) Status: Incomplete = In Progress ** Changed in: linux (Ubuntu) Importance: Undecided = High ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Andy Whitcroft (apw) ** Changed in: linux (Ubuntu) Milestone: None = ubuntu-15.01 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: In Progress Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: Fix Committed Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1414002] Re: Assembler messages: Error: .err encountered
user error, see https://bugs.linaro.org/show_bug.cgi?id=1115 ** Bug watch added: Linaro Bug Tracking System #1115 https://bugs.linaro.org/show_bug.cgi?id=1115 ** Package changed: gcc-4.9 (Ubuntu) = linux (Ubuntu) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1414002 Title: Assembler messages: Error: .err encountered Status in linux package in Ubuntu: New Bug description: $ gcc -Wp,-MD,arch/arm64/kernel/.psci.o.d -nostdinc -isystem /usr/lib/gcc/aarch64-linux-gnu/4.9/include -I/usr/src/linux-headers-lbm- -I/home/apw/ubuntu-vivid2/arch/arm64/include -Iarch/arm64/include/generated -I/home/apw/ubuntu-vivid2/include -Iinclude -I/home/apw/ubuntu-vivid2/arch/arm64/include/uapi -Iarch/arm64/include/generated/uapi -I/home/apw/ubuntu-vivid2/include/uapi -Iinclude/generated/uapi -include /home/apw/ubuntu-vivid2/include/linux/kconfig.h -Iubuntu/include -I/home/apw/ubuntu-vivid2/ubuntu/include -I/home/apw/ubuntu-vivid2/arch/arm64/kernel -Iarch/arm64/kernel -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mgeneral-regs-only -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-trackin g-assignments -g -gdwarf-4 -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(psci) -DKBUILD_MODNAME=KBUILD_STR(psci) -c -o arch/arm64/kernel/.tmp_psci.o /home/apw/ubuntu-vivid2/arch/arm64/kernel/psci.c /tmp/ccEayz7S.s: Assembler messages: /tmp/ccEayz7S.s:41: Error: .err encountered /tmp/ccEayz7S.s:42: Error: .err encountered /tmp/ccEayz7S.s:43: Error: .err encountered /tmp/ccEayz7S.s:101: Error: .err encountered /tmp/ccEayz7S.s:102: Error: .err encountered /tmp/ccEayz7S.s:103: Error: .err encountered To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1414002/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp