Bug 1325

Summary: assembler warnings during make
Product: Other Reporter: Mitchel Sahertian (mitchel)
Component: OtherAssignee: Zwane Mwaikambo (zwane)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: linux-2.6.0-test6-bk(6|7) Subsystem:
Regression: --- Bisected commit-id:
Attachments: kernel .config

Description Mitchel Sahertian 2003-10-05 06:00:44 UTC
Distribution:
Gentoo current

Hardware Environment:
i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Software Environment:
gcc versie 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
bin86 0.6.11 / 0.16.13

Problem Description:
{standard input}: Assembler messages:
{standard input}:181: Warning: setting incorrect section attributes for .init.text
{standard input}:278: Warning: setting incorrect section attributes for .init.data
{standard input}:283: Warning: setting incorrect section attributes for .init.setup

Does not happen with linux-2.6.0-test6

Steps to reproduce:
# make
..

# cat .config | egrep -v "^#" | egrep -v "^$" | head -n 50
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y
CONFIG_X86_PC=y
CONFIG_MPENTIUM4=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_PREEMPT=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_NOHIGHMEM=y
CONFIG_MTRR=y
CONFIG_HAVE_DEC_LOCK=y
CONFIG_PM=y
CONFIG_APM=y
Comment 1 Zwane Mwaikambo 2003-10-30 16:20:05 UTC
Please post your entire .config and also try and reproduce with test9
Comment 2 Mitchel Sahertian 2003-11-01 04:57:27 UTC
Created attachment 1308 [details]
kernel .config
Comment 3 Mitchel Sahertian 2003-11-01 04:59:44 UTC
No problems with 2.6.0-test9-bk5.

Some compiler warnings for samba/ipsec/ipv6 tho (not related to this)
Comment 4 Mitchel Sahertian 2003-11-01 05:01:05 UTC
ewps...
there is still one more...
arch/i386/boot/setup.S: Assembler messages:
arch/i386/boot/setup.S:165: Warning: value 0x37ffffff truncated to 0x37ffffff
Comment 5 Zwane Mwaikambo 2003-11-01 07:01:20 UTC
If i recall correctly, this is a bug in your assembler. Which version are you
using (as -v)?
Comment 6 Mitchel Sahertian 2003-11-01 07:17:21 UTC
(See Software Environment)

$ as86 -v
as86 version: 0.16.13
Comment 7 Zwane Mwaikambo 2003-11-01 07:37:05 UTC
Please send as -v output and not as86 -v
Comment 8 Mitchel Sahertian 2003-11-01 07:45:17 UTC
oh.. sorry :/

$ as -v
GNU assembler version 2.14.90.0.6 (i686-pc-linux-gnu) using BFD version
2.14.90.0.6 20030820
Comment 9 Zwane Mwaikambo 2003-11-01 17:40:45 UTC
I believe that's a bug in the assembler and not the Linux kernel, it should be
safe to ignore. I'll close this bug now.
Comment 10 Mitchel Sahertian 2003-11-02 04:32:39 UTC
(also with "GNU assembler version 2.14.90.0.7 (i686-pc-linux-gnu) using BFD
version 2.14.90.0.7 20031029")