* gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas
@ 2008-05-01 5:07 sampo
2008-05-01 12:06 ` Adrian Bunk
0 siblings, 1 reply; 21+ messages in thread
From: sampo @ 2008-05-01 5:07 UTC (permalink / raw)
To: linux-kbuild; +Cc: sampo
Platform: x86
Compiler: gcc-3.4.6
Binutils: 2.17.50.0.8
Kernel under build: 2.6.25 (from kernel.org)
Problem: Build fails due to incompatibility of asm-offsets.h with
assembler. See below:
gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem
/apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o
arch/x86/kernel/entry_32.S
include/asm/asm-offsets.h: Assembler messages:
include/asm/asm-offsets.h:10: Error: invalid character '_' in mnemonic
include/asm/asm-offsets.h:11: Error: invalid character '_' in mnemonic
include/asm/asm-offsets.h:12: Error: invalid character '_' in mnemonic
include/asm/asm-offsets.h:13: Error: invalid character '_' in mnemonic
include/asm/asm-offsets.h:14: Error: invalid character '_' in mnemonic
include/asm/asm-offsets.h:15: Error: invalid character '_' in mnemonic
(snip - much more of the same)
Analysis:
1. All errors are related to use of offsetof() macro. The asm-offsets.h
contains lines like
IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) #
2. offsetof() macro is defined in include/linux/stddef.h. It appears
to rely on __compiler_offsetof() which maps to __builtin_offsetof()
on gcc-4.x, but on gcc-3.4.6 the definition is as follows
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
I believe this C syntax is what is causing indigestion to gas.
3. The compilation can be forced to proceed bit further by
adding to beginning of .S files #define __ASM_OFFSETS_H__
which prevents the problematic include from being included.
However, some .S files actually need the definitions.
4. In Documentation/Changes file the compiler requirement is
documented as gcc-3.2. Therefore it seems reasonable to expect
gcc-3.4.6 to work.
5. Last time I compiled kernel was 2.6.23.9. Back then this
problem did not exist. The toolchain is the same as used back then.
6. googling did not return any enlightening entries, thus I presume
this problem has not been reported yet.
Cheers,
--Sampo
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 5:07 gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas sampo @ 2008-05-01 12:06 ` Adrian Bunk 2008-05-01 15:05 ` sampo 0 siblings, 1 reply; 21+ messages in thread From: Adrian Bunk @ 2008-05-01 12:06 UTC (permalink / raw) To: sampo; +Cc: linux-kbuild On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: > Platform: x86 > Compiler: gcc-3.4.6 > Binutils: 2.17.50.0.8 > Kernel under build: 2.6.25 (from kernel.org) > > Problem: Build fails due to incompatibility of asm-offsets.h with > assembler. See below: > > gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem > /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ > -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 > -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > -Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o > arch/x86/kernel/entry_32.S > include/asm/asm-offsets.h: Assembler messages: > include/asm/asm-offsets.h:10: Error: invalid character '_' in mnemonic > include/asm/asm-offsets.h:11: Error: invalid character '_' in mnemonic > include/asm/asm-offsets.h:12: Error: invalid character '_' in mnemonic > include/asm/asm-offsets.h:13: Error: invalid character '_' in mnemonic > include/asm/asm-offsets.h:14: Error: invalid character '_' in mnemonic > include/asm/asm-offsets.h:15: Error: invalid character '_' in mnemonic > (snip - much more of the same) >... Thanks for your report. Please send: - your .config - your include/asm/asm-offsets.h > Cheers, > --Sampo Thanks Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 12:06 ` Adrian Bunk @ 2008-05-01 15:05 ` sampo 2008-05-01 16:34 ` Adrian Bunk 0 siblings, 1 reply; 21+ messages in thread From: sampo @ 2008-05-01 15:05 UTC (permalink / raw) To: Adrian Bunk; +Cc: sampo, linux-kbuild [-- Attachment #1: Type: text/plain, Size: 1461 bytes --] Adrian Bunk wrote: > On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: >> Platform: x86 >> Compiler: gcc-3.4.6 >> Binutils: 2.17.50.0.8 >> Kernel under build: 2.6.25 (from kernel.org) >> >> Problem: Build fails due to incompatibility of asm-offsets.h with >> assembler. See below: >> >> gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem >> /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ >> -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 >> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 >> -Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o >> arch/x86/kernel/entry_32.S >> include/asm/asm-offsets.h: Assembler messages: >> include/asm/asm-offsets.h:10: Error: invalid character '_' in mnemonic >> include/asm/asm-offsets.h:11: Error: invalid character '_' in mnemonic >> include/asm/asm-offsets.h:12: Error: invalid character '_' in mnemonic >> include/asm/asm-offsets.h:13: Error: invalid character '_' in mnemonic >> include/asm/asm-offsets.h:14: Error: invalid character '_' in mnemonic >> include/asm/asm-offsets.h:15: Error: invalid character '_' in mnemonic >> (snip - much more of the same) >>... > > Thanks for your report. > > Please send: > - your .config > - your include/asm/asm-offsets.h Please see attached. FYI ls-alFg include/asm lrwxrwxrwx 1 sampo sampo 7 May 1 02:30 include/asm -> asm-x86/ Cheers, --Sampo >> Cheers, >> --Sampo > > Thanks > Adrian [-- Attachment #2: asm-offsets.h --] [-- Type: application/octet-stream, Size: 3348 bytes --] #ifndef __ASM_OFFSETS_H__ #define __ASM_OFFSETS_H__ /* * DO NOT MODIFY. * * This file was generated by Kbuild * */ IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # IA32_SIGCONTEXT_bx $32 offsetof(struct sigcontext, bx) # IA32_SIGCONTEXT_cx $40 offsetof(struct sigcontext, cx) # IA32_SIGCONTEXT_dx $36 offsetof(struct sigcontext, dx) # IA32_SIGCONTEXT_si $20 offsetof(struct sigcontext, si) # IA32_SIGCONTEXT_di $16 offsetof(struct sigcontext, di) # IA32_SIGCONTEXT_bp $24 offsetof(struct sigcontext, bp) # IA32_SIGCONTEXT_sp $28 offsetof(struct sigcontext, sp) # IA32_SIGCONTEXT_ip $56 offsetof(struct sigcontext, ip) # CPUINFO_x86 $0 offsetof(struct cpuinfo_x86, x86) # CPUINFO_x86_vendor $1 offsetof(struct cpuinfo_x86, x86_vendor) # CPUINFO_x86_model $2 offsetof(struct cpuinfo_x86, x86_model) # CPUINFO_x86_mask $3 offsetof(struct cpuinfo_x86, x86_mask) # CPUINFO_hard_math $6 offsetof(struct cpuinfo_x86, hard_math) # CPUINFO_cpuid_level $12 offsetof(struct cpuinfo_x86, cpuid_level) # CPUINFO_x86_capability $16 offsetof(struct cpuinfo_x86, x86_capability) # CPUINFO_x86_vendor_id $48 offsetof(struct cpuinfo_x86, x86_vendor_id) # TI_task $0 offsetof(struct thread_info, task) # TI_exec_domain $4 offsetof(struct thread_info, exec_domain) # TI_flags $8 offsetof(struct thread_info, flags) # TI_status $12 offsetof(struct thread_info, status) # TI_preempt_count $20 offsetof(struct thread_info, preempt_count) # TI_addr_limit $24 offsetof(struct thread_info, addr_limit) # TI_restart_block $32 offsetof(struct thread_info, restart_block) # TI_sysenter_return $28 offsetof(struct thread_info, sysenter_return) # TI_cpu $16 offsetof(struct thread_info, cpu) # GDS_size $0 offsetof(struct desc_ptr, size) # GDS_address $2 offsetof(struct desc_ptr, address) # PT_EBX $0 offsetof(struct pt_regs, bx) # PT_ECX $4 offsetof(struct pt_regs, cx) # PT_EDX $8 offsetof(struct pt_regs, dx) # PT_ESI $12 offsetof(struct pt_regs, si) # PT_EDI $16 offsetof(struct pt_regs, di) # PT_EBP $20 offsetof(struct pt_regs, bp) # PT_EAX $24 offsetof(struct pt_regs, ax) # PT_DS $28 offsetof(struct pt_regs, ds) # PT_ES $32 offsetof(struct pt_regs, es) # PT_FS $36 offsetof(struct pt_regs, fs) # PT_ORIG_EAX $40 offsetof(struct pt_regs, orig_ax) # PT_EIP $44 offsetof(struct pt_regs, ip) # PT_CS $48 offsetof(struct pt_regs, cs) # PT_EFLAGS $52 offsetof(struct pt_regs, flags) # PT_OLDESP $56 offsetof(struct pt_regs, sp) # PT_OLDSS $60 offsetof(struct pt_regs, ss) # EXEC_DOMAIN_handler $4 offsetof(struct exec_domain, handler) # IA32_RT_SIGFRAME_sigcontext $164 offsetof(struct rt_sigframe, uc.uc_mcontext) # pbe_address $0 offsetof(struct pbe, address) # pbe_orig_address $4 offsetof(struct pbe, orig_address) # pbe_next $8 offsetof(struct pbe, next) # TSS_sysenter_sp0 $-8700 offsetof(struct tss_struct, x86_tss.sp0) - sizeof(struct tss_struct) # PAGE_SIZE_asm $4096 PAGE_SIZE # PAGE_SHIFT_asm $12 PAGE_SHIFT # PTRS_PER_PTE $1024 PTRS_PER_PTE # PTRS_PER_PMD $1 PTRS_PER_PMD # PTRS_PER_PGD $1024 PTRS_PER_PGD # crypto_tfm_ctx_offset $48 offsetof(struct crypto_tfm, __crt_ctx) # BP_scratch $484 offsetof(struct boot_params, scratch) # BP_loadflags $529 offsetof(struct boot_params, hdr.loadflags) # BP_hardware_subarch $572 offsetof(struct boot_params, hdr.hardware_subarch) # BP_version $518 offsetof(struct boot_params, hdr.version) # #endif [-- Attachment #3: .config --] [-- Type: application/octet-stream, Size: 51362 bytes --] # # Automatically generated make config: don't edit # Linux kernel version: 2.6.25 # Thu May 1 02:30:29 2008 # # CONFIG_64BIT is not set CONFIG_X86_32=y # CONFIG_X86_64 is not set CONFIG_X86=y # CONFIG_GENERIC_LOCKBREAK is not set CONFIG_GENERIC_TIME=y CONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_SEMAPHORE_SLEEPERS=y CONFIG_FAST_CMPXCHG_LOCAL=y CONFIG_MMU=y CONFIG_ZONE_DMA=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y CONFIG_GENERIC_BUG=y CONFIG_GENERIC_HWEIGHT=y # CONFIG_GENERIC_GPIO is not set CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_DMI=y # CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y # CONFIG_ARCH_HAS_ILOG2_U32 is not set # CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y # CONFIG_GENERIC_TIME_VSYSCALL is not set CONFIG_ARCH_HAS_CPU_RELAX=y # CONFIG_HAVE_SETUP_PER_CPU_AREA is not set CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y # CONFIG_ZONE_DMA32 is not set CONFIG_ARCH_POPULATES_NODE_MAP=y # CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_AOUT=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_X86_SMP=y CONFIG_X86_32_SMP=y CONFIG_X86_HT=y CONFIG_X86_BIOS_REBOOT=y CONFIG_X86_TRAMPOLINE=y CONFIG_KTIME_SCALAR=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # # General setup # CONFIG_EXPERIMENTAL=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_LOCALVERSION="jin25" CONFIG_LOCALVERSION_AUTO=y CONFIG_SWAP=y CONFIG_SYSVIPC=y CONFIG_SYSVIPC_SYSCTL=y CONFIG_POSIX_MQUEUE=y # CONFIG_BSD_PROCESS_ACCT is not set # CONFIG_TASKSTATS is not set # CONFIG_AUDIT is not set # CONFIG_IKCONFIG is not set CONFIG_LOG_BUF_SHIFT=16 # CONFIG_CGROUPS is not set # CONFIG_GROUP_SCHED is not set # CONFIG_SYSFS_DEPRECATED_V2 is not set # CONFIG_RELAY is not set CONFIG_NAMESPACES=y # CONFIG_UTS_NS is not set # CONFIG_IPC_NS is not set # CONFIG_USER_NS is not set # CONFIG_PID_NS is not set CONFIG_BLK_DEV_INITRD=y CONFIG_INITRAMFS_SOURCE="" # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=y # CONFIG_EMBEDDED is not set CONFIG_UID16=y CONFIG_SYSCTL_SYSCALL=y CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_ALL is not set # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_HOTPLUG=y CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_ELF_CORE=y # CONFIG_COMPAT_BRK is not set CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_ANON_INODES=y CONFIG_EPOLL=y CONFIG_SIGNALFD=y CONFIG_TIMERFD=y CONFIG_EVENTFD=y CONFIG_SHMEM=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_SLAB=y # CONFIG_SLUB is not set # CONFIG_SLOB is not set # CONFIG_PROFILING is not set # CONFIG_MARKERS is not set CONFIG_HAVE_OPROFILE=y # CONFIG_KPROBES is not set CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_SLABINFO=y CONFIG_RT_MUTEXES=y # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y CONFIG_STOP_MACHINE=y CONFIG_BLOCK=y # CONFIG_LBD is not set # CONFIG_BLK_DEV_IO_TRACE is not set # CONFIG_LSF is not set # CONFIG_BLK_DEV_BSG is not set # # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set # CONFIG_IOSCHED_DEADLINE is not set CONFIG_IOSCHED_CFQ=y # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set CONFIG_DEFAULT_CFQ=y # CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_PREEMPT_NOTIFIERS=y CONFIG_CLASSIC_RCU=y # # Processor type and features # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ=y # CONFIG_HIGH_RES_TIMERS is not set CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_SMP=y CONFIG_X86_PC=y # CONFIG_X86_ELAN is not set # CONFIG_X86_VOYAGER is not set # CONFIG_X86_NUMAQ is not set # CONFIG_X86_SUMMIT is not set # CONFIG_X86_BIGSMP is not set # CONFIG_X86_VISWS is not set # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_ES7000 is not set # CONFIG_X86_RDC321X is not set # CONFIG_X86_VSMP is not set CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_PARAVIRT_GUEST=y # CONFIG_XEN is not set # CONFIG_VMI is not set # CONFIG_LGUEST_GUEST is not set # CONFIG_PARAVIRT is not set # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUMM is not set # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MK8 is not set # CONFIG_MCRUSOE is not set # CONFIG_MEFFICEON is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MGEODEGX1 is not set # CONFIG_MGEODE_LX is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set # CONFIG_MVIAC7 is not set # CONFIG_MPSC is not set CONFIG_MCORE2=y # CONFIG_GENERIC_CPU is not set # CONFIG_X86_GENERIC is not set CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_XADD=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_X86_P6_NOP=y CONFIG_X86_TSC=y CONFIG_X86_MINIMUM_CPU_FAMILY=6 CONFIG_X86_DEBUGCTLMSR=y CONFIG_HPET_TIMER=y # CONFIG_IOMMU_HELPER is not set CONFIG_NR_CPUS=4 CONFIG_SCHED_SMT=y CONFIG_SCHED_MC=y # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y # CONFIG_PREEMPT_RCU is not set CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y CONFIG_X86_MCE_P4THERMAL=y CONFIG_VM86=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_X86_REBOOTFIXUPS is not set CONFIG_MICROCODE=m CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=m CONFIG_X86_CPUID=m CONFIG_NOHIGHMEM=y # CONFIG_HIGHMEM4G is not set # CONFIG_HIGHMEM64G is not set CONFIG_PAGE_OFFSET=0xC0000000 # CONFIG_X86_PAE is not set CONFIG_ARCH_FLATMEM_ENABLE=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y CONFIG_SPARSEMEM_STATIC=y # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set CONFIG_SPLIT_PTLOCK_CPUS=4 # CONFIG_RESOURCES_64BIT is not set CONFIG_ZONE_DMA_FLAG=1 CONFIG_BOUNCE=y CONFIG_VIRT_TO_BUS=y # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_EFI is not set CONFIG_IRQBALANCE=y CONFIG_SECCOMP=y # CONFIG_HZ_100 is not set # CONFIG_HZ_250 is not set # CONFIG_HZ_300 is not set CONFIG_HZ_1000=y CONFIG_HZ=1000 # CONFIG_SCHED_HRTICK is not set # CONFIG_KEXEC is not set CONFIG_PHYSICAL_START=0x100000 # CONFIG_RELOCATABLE is not set CONFIG_PHYSICAL_ALIGN=0x100000 CONFIG_HOTPLUG_CPU=y # CONFIG_COMPAT_VDSO is not set # # Power management options # CONFIG_PM=y # CONFIG_PM_LEGACY is not set CONFIG_PM_DEBUG=y # CONFIG_PM_VERBOSE is not set CONFIG_CAN_PM_TRACE=y # CONFIG_PM_TRACE_RTC is not set CONFIG_PM_SLEEP_SMP=y CONFIG_PM_SLEEP=y CONFIG_SUSPEND=y CONFIG_SUSPEND_FREEZER=y CONFIG_HIBERNATION=y CONFIG_PM_STD_PARTITION="/dev/sda4" CONFIG_ACPI=y CONFIG_ACPI_SLEEP=y # CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PROCFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_PROC_EVENT=y CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y # CONFIG_ACPI_BUTTON is not set CONFIG_ACPI_VIDEO=m # CONFIG_ACPI_FAN is not set CONFIG_ACPI_DOCK=y # CONFIG_ACPI_BAY is not set CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_WMI is not set # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_TOSHIBA is not set # CONFIG_ACPI_CUSTOM_DSDT is not set CONFIG_ACPI_BLACKLIST_YEAR=0 CONFIG_ACPI_DEBUG=y # CONFIG_ACPI_DEBUG_FUNC_TRACE is not set CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_SYSTEM=y CONFIG_X86_PM_TIMER=y CONFIG_ACPI_CONTAINER=y # CONFIG_ACPI_SBS is not set # CONFIG_APM is not set # # CPU Frequency scaling # CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_TABLE=y # CONFIG_CPU_FREQ_DEBUG is not set CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y # # CPUFreq processor drivers # CONFIG_X86_ACPI_CPUFREQ=y # CONFIG_X86_POWERNOW_K6 is not set # CONFIG_X86_POWERNOW_K7 is not set # CONFIG_X86_POWERNOW_K8 is not set # CONFIG_X86_GX_SUSPMOD is not set CONFIG_X86_SPEEDSTEP_CENTRINO=m CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y CONFIG_X86_SPEEDSTEP_ICH=y # CONFIG_X86_SPEEDSTEP_SMI is not set # CONFIG_X86_P4_CLOCKMOD is not set # CONFIG_X86_CPUFREQ_NFORCE2 is not set # CONFIG_X86_LONGRUN is not set # CONFIG_X86_LONGHAUL is not set # CONFIG_X86_E_POWERSAVER is not set # # shared options # # CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set CONFIG_X86_SPEEDSTEP_LIB=y # CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y # # Bus options (PCI etc.) # CONFIG_PCI=y # CONFIG_PCI_GOBIOS is not set # CONFIG_PCI_GOMMCONFIG is not set # CONFIG_PCI_GODIRECT is not set CONFIG_PCI_GOANY=y CONFIG_PCI_BIOS=y CONFIG_PCI_DIRECT=y CONFIG_PCI_MMCONFIG=y CONFIG_PCI_DOMAINS=y CONFIG_PCIEPORTBUS=y CONFIG_HOTPLUG_PCI_PCIE=m CONFIG_PCIEAER=y CONFIG_ARCH_SUPPORTS_MSI=y CONFIG_PCI_MSI=y # CONFIG_PCI_LEGACY is not set # CONFIG_PCI_DEBUG is not set CONFIG_HT_IRQ=y CONFIG_ISA_DMA_API=y CONFIG_ISA=y # CONFIG_EISA is not set # CONFIG_MCA is not set # CONFIG_SCx200 is not set CONFIG_PCCARD=m CONFIG_PCMCIA_DEBUG=y CONFIG_PCMCIA=m CONFIG_PCMCIA_LOAD_CIS=y CONFIG_PCMCIA_IOCTL=y CONFIG_CARDBUS=y # # PC-card bridges # CONFIG_YENTA=m CONFIG_YENTA_O2=y CONFIG_YENTA_RICOH=y CONFIG_YENTA_TI=y CONFIG_YENTA_ENE_TUNE=y CONFIG_YENTA_TOSHIBA=y # CONFIG_PD6729 is not set # CONFIG_I82092 is not set # CONFIG_I82365 is not set # CONFIG_TCIC is not set CONFIG_PCMCIA_PROBE=y CONFIG_PCCARD_NONSTATIC=m CONFIG_HOTPLUG_PCI=m CONFIG_HOTPLUG_PCI_FAKE=m CONFIG_HOTPLUG_PCI_ACPI=m CONFIG_HOTPLUG_PCI_ACPI_IBM=m CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_SHPC=m # # Executable file formats / Emulations # CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_AOUT is not set # CONFIG_BINFMT_MISC is not set # # Networking # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_IP_MULTICAST is not set # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_FIB_HASH=y # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set # CONFIG_INET_TUNNEL is not set # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_BEET is not set CONFIG_INET_LRO=y # CONFIG_INET_DIAG is not set # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" # CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set # CONFIG_NETWORK_SECMARK is not set # CONFIG_NETFILTER is not set # CONFIG_IP_DCCP is not set # CONFIG_IP_SCTP is not set # CONFIG_TIPC is not set # CONFIG_ATM is not set # CONFIG_BRIDGE is not set # CONFIG_VLAN_8021Q is not set # CONFIG_DECNET is not set # CONFIG_LLC2 is not set # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_X25 is not set # CONFIG_LAPB is not set # CONFIG_ECONET is not set # CONFIG_WAN_ROUTER is not set # CONFIG_NET_SCHED is not set CONFIG_NET_SCH_FIFO=y # # Network testing # # CONFIG_NET_PKTGEN is not set # CONFIG_HAMRADIO is not set # CONFIG_CAN is not set # CONFIG_IRDA is not set CONFIG_BT=y CONFIG_BT_L2CAP=y CONFIG_BT_SCO=y CONFIG_BT_RFCOMM=y CONFIG_BT_RFCOMM_TTY=y CONFIG_BT_BNEP=y CONFIG_BT_BNEP_MC_FILTER=y CONFIG_BT_BNEP_PROTO_FILTER=y CONFIG_BT_HIDP=y # # Bluetooth device drivers # CONFIG_BT_HCIUSB=y CONFIG_BT_HCIUSB_SCO=y CONFIG_BT_HCIUART=m CONFIG_BT_HCIUART_H4=y CONFIG_BT_HCIUART_BCSP=y # CONFIG_BT_HCIUART_LL is not set CONFIG_BT_HCIBCM203X=m CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBFUSB=m # CONFIG_BT_HCIDTL1 is not set # CONFIG_BT_HCIBT3C is not set # CONFIG_BT_HCIBLUECARD is not set # CONFIG_BT_HCIBTUART is not set # CONFIG_BT_HCIVHCI is not set # CONFIG_AF_RXRPC is not set # # Wireless # CONFIG_CFG80211=m CONFIG_NL80211=y CONFIG_WIRELESS_EXT=y CONFIG_MAC80211=m # # Rate control algorithm selection # CONFIG_MAC80211_RC_DEFAULT_PID=y # CONFIG_MAC80211_RC_DEFAULT_SIMPLE is not set # CONFIG_MAC80211_RC_DEFAULT_NONE is not set # # Selecting 'y' for an algorithm will # # # build the algorithm into mac80211. # CONFIG_MAC80211_RC_DEFAULT="pid" CONFIG_MAC80211_RC_PID=y # CONFIG_MAC80211_RC_SIMPLE is not set # CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is not set # CONFIG_MAC80211_DEBUG is not set CONFIG_IEEE80211=m # CONFIG_IEEE80211_DEBUG is not set CONFIG_IEEE80211_CRYPT_WEP=m CONFIG_IEEE80211_CRYPT_CCMP=m CONFIG_IEEE80211_CRYPT_TKIP=m CONFIG_IEEE80211_SOFTMAC=m # CONFIG_IEEE80211_SOFTMAC_DEBUG is not set CONFIG_RFKILL=m CONFIG_RFKILL_INPUT=m # CONFIG_NET_9P is not set # # Device Drivers # # # Generic Driver Options # CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_STANDALONE=y CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y # CONFIG_DEBUG_DRIVER is not set # CONFIG_DEBUG_DEVRES is not set # CONFIG_SYS_HYPERVISOR is not set CONFIG_CONNECTOR=m # CONFIG_MTD is not set # CONFIG_PARPORT is not set CONFIG_PNP=y # CONFIG_PNP_DEBUG is not set # # Protocols # # CONFIG_ISAPNP is not set # CONFIG_PNPBIOS is not set CONFIG_PNPACPI=y CONFIG_BLK_DEV=y # CONFIG_BLK_DEV_FD is not set # CONFIG_BLK_DEV_XD is not set # CONFIG_BLK_CPQ_DA is not set # CONFIG_BLK_CPQ_CISS_DA is not set # CONFIG_BLK_DEV_DAC960 is not set # CONFIG_BLK_DEV_UMEM is not set # CONFIG_BLK_DEV_COW_COMMON is not set CONFIG_BLK_DEV_LOOP=y # CONFIG_BLK_DEV_CRYPTOLOOP is not set # CONFIG_BLK_DEV_NBD is not set CONFIG_BLK_DEV_SX8=y CONFIG_BLK_DEV_UB=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=16 CONFIG_BLK_DEV_RAM_SIZE=4096 # CONFIG_BLK_DEV_XIP is not set CONFIG_CDROM_PKTCDVD=m CONFIG_CDROM_PKTCDVD_BUFFERS=8 # CONFIG_CDROM_PKTCDVD_WCACHE is not set # CONFIG_ATA_OVER_ETH is not set CONFIG_MISC_DEVICES=y # CONFIG_IBM_ASM is not set # CONFIG_PHANTOM is not set # CONFIG_EEPROM_93CX6 is not set # CONFIG_SGI_IOC4 is not set CONFIG_TIFM_CORE=y CONFIG_TIFM_7XX1=y # CONFIG_FUJITSU_LAPTOP is not set # CONFIG_TC1100_WMI is not set # CONFIG_MSI_LAPTOP is not set # CONFIG_SONY_LAPTOP is not set # CONFIG_THINKPAD_ACPI is not set # CONFIG_INTEL_MENLOW is not set # CONFIG_ENCLOSURE_SERVICES is not set CONFIG_HAVE_IDE=y CONFIG_IDE=y CONFIG_BLK_DEV_IDE=y # # Please see Documentation/ide/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_IDE_SATA is not set # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y CONFIG_IDEDISK_MULTI_MODE=y # CONFIG_BLK_DEV_IDECS is not set # CONFIG_BLK_DEV_DELKIN is not set CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y # CONFIG_BLK_DEV_IDETAPE is not set # CONFIG_BLK_DEV_IDEFLOPPY is not set CONFIG_BLK_DEV_IDESCSI=y CONFIG_BLK_DEV_IDEACPI=y CONFIG_IDE_TASK_IOCTL=y # CONFIG_IDE_PROC_FS is not set # # IDE chipset support/bugfixes # CONFIG_IDE_GENERIC=y # CONFIG_BLK_DEV_PLATFORM is not set # CONFIG_BLK_DEV_CMD640 is not set # CONFIG_BLK_DEV_IDEPNP is not set CONFIG_BLK_DEV_IDEDMA_SFF=y # # PCI IDE chipsets support # CONFIG_BLK_DEV_IDEPCI=y # CONFIG_IDEPCI_PCIBUS_ORDER is not set # CONFIG_BLK_DEV_OFFBOARD is not set CONFIG_BLK_DEV_GENERIC=y # CONFIG_BLK_DEV_OPTI621 is not set # CONFIG_BLK_DEV_RZ1000 is not set CONFIG_BLK_DEV_IDEDMA_PCI=y # CONFIG_BLK_DEV_AEC62XX is not set CONFIG_BLK_DEV_ALI15X3=y # CONFIG_WDC_ALI15X3 is not set CONFIG_BLK_DEV_AMD74XX=y CONFIG_BLK_DEV_ATIIXP=y # CONFIG_BLK_DEV_CMD64X is not set # CONFIG_BLK_DEV_TRIFLEX is not set # CONFIG_BLK_DEV_CY82C693 is not set # CONFIG_BLK_DEV_CS5520 is not set # CONFIG_BLK_DEV_CS5530 is not set # CONFIG_BLK_DEV_CS5535 is not set # CONFIG_BLK_DEV_HPT34X is not set # CONFIG_BLK_DEV_HPT366 is not set # CONFIG_BLK_DEV_JMICRON is not set # CONFIG_BLK_DEV_SC1200 is not set CONFIG_BLK_DEV_PIIX=y # CONFIG_BLK_DEV_IT8213 is not set # CONFIG_BLK_DEV_IT821X is not set # CONFIG_BLK_DEV_NS87415 is not set # CONFIG_BLK_DEV_PDC202XX_OLD is not set # CONFIG_BLK_DEV_PDC202XX_NEW is not set # CONFIG_BLK_DEV_SVWKS is not set # CONFIG_BLK_DEV_SIIMAGE is not set CONFIG_BLK_DEV_SIS5513=y # CONFIG_BLK_DEV_SLC90E66 is not set # CONFIG_BLK_DEV_TRM290 is not set # CONFIG_BLK_DEV_VIA82CXXX is not set # CONFIG_BLK_DEV_TC86C001 is not set # # Other IDE chipsets support # # # Note: most of these also require special kernel boot parameters # CONFIG_BLK_DEV_4DRIVES=y # CONFIG_BLK_DEV_ALI14XX is not set # CONFIG_BLK_DEV_DTC2278 is not set # CONFIG_BLK_DEV_HT6560B is not set # CONFIG_BLK_DEV_QD65XX is not set # CONFIG_BLK_DEV_UMC8672 is not set CONFIG_BLK_DEV_IDEDMA=y CONFIG_IDE_ARCH_OBSOLETE_INIT=y # CONFIG_BLK_DEV_HD is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set CONFIG_SCSI=y CONFIG_SCSI_DMA=y # CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set # CONFIG_SCSI_PROC_FS is not set # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set # CONFIG_CHR_DEV_OSST is not set CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=y # CONFIG_CHR_DEV_SCH is not set # # Some SCSI devices (e.g. CD jukebox) support multiple LUNs # # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set CONFIG_SCSI_SCAN_ASYNC=y CONFIG_SCSI_WAIT_SCAN=m # # SCSI Transports # # CONFIG_SCSI_SPI_ATTRS is not set # CONFIG_SCSI_FC_ATTRS is not set # CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set # CONFIG_SCSI_SRP_ATTRS is not set CONFIG_SCSI_LOWLEVEL=y # CONFIG_ISCSI_TCP is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_7000FASST is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AHA152X is not set # CONFIG_SCSI_AHA1542 is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC94XX is not set # CONFIG_SCSI_DPT_I2O is not set # CONFIG_SCSI_ADVANSYS is not set # CONFIG_SCSI_IN2000 is not set # CONFIG_SCSI_ARCMSR is not set # CONFIG_MEGARAID_NEWGEN is not set # CONFIG_MEGARAID_LEGACY is not set # CONFIG_MEGARAID_SAS is not set # CONFIG_SCSI_HPTIOP is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set # CONFIG_SCSI_DTC3280 is not set # CONFIG_SCSI_EATA is not set # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_GENERIC_NCR5380 is not set # CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_MVSAS is not set # CONFIG_SCSI_NCR53C406A is not set # CONFIG_SCSI_STEX is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_IPR is not set # CONFIG_SCSI_PAS16 is not set # CONFIG_SCSI_QLOGIC_FAS is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_QLA_FC is not set # CONFIG_SCSI_QLA_ISCSI is not set # CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_SYM53C416 is not set # CONFIG_SCSI_DC395x is not set # CONFIG_SCSI_DC390T is not set # CONFIG_SCSI_T128 is not set # CONFIG_SCSI_U14_34F is not set # CONFIG_SCSI_ULTRASTOR is not set # CONFIG_SCSI_NSP32 is not set # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_SRP is not set # CONFIG_SCSI_LOWLEVEL_PCMCIA is not set CONFIG_ATA=y # CONFIG_ATA_NONSTANDARD is not set CONFIG_ATA_ACPI=y CONFIG_SATA_AHCI=y # CONFIG_SATA_SVW is not set CONFIG_ATA_PIIX=y # CONFIG_SATA_MV is not set CONFIG_SATA_NV=y # CONFIG_PDC_ADMA is not set # CONFIG_SATA_QSTOR is not set # CONFIG_SATA_PROMISE is not set # CONFIG_SATA_SX4 is not set # CONFIG_SATA_SIL is not set # CONFIG_SATA_SIL24 is not set CONFIG_SATA_SIS=y CONFIG_SATA_ULI=y CONFIG_SATA_VIA=y CONFIG_SATA_VITESSE=y # CONFIG_SATA_INIC162X is not set # CONFIG_PATA_ACPI is not set CONFIG_PATA_ALI=y CONFIG_PATA_AMD=y # CONFIG_PATA_ARTOP is not set CONFIG_PATA_ATIIXP=y # CONFIG_PATA_CMD640_PCI is not set # CONFIG_PATA_CMD64X is not set # CONFIG_PATA_CS5520 is not set # CONFIG_PATA_CS5530 is not set # CONFIG_PATA_CS5535 is not set # CONFIG_PATA_CS5536 is not set # CONFIG_PATA_CYPRESS is not set # CONFIG_PATA_EFAR is not set CONFIG_ATA_GENERIC=y # CONFIG_PATA_HPT366 is not set # CONFIG_PATA_HPT37X is not set # CONFIG_PATA_HPT3X2N is not set # CONFIG_PATA_HPT3X3 is not set # CONFIG_PATA_IT821X is not set # CONFIG_PATA_IT8213 is not set # CONFIG_PATA_JMICRON is not set # CONFIG_PATA_LEGACY is not set # CONFIG_PATA_TRIFLEX is not set # CONFIG_PATA_MARVELL is not set CONFIG_PATA_MPIIX=y CONFIG_PATA_OLDPIIX=y # CONFIG_PATA_NETCELL is not set # CONFIG_PATA_NINJA32 is not set # CONFIG_PATA_NS87410 is not set # CONFIG_PATA_NS87415 is not set # CONFIG_PATA_OPTI is not set # CONFIG_PATA_OPTIDMA is not set # CONFIG_PATA_PCMCIA is not set # CONFIG_PATA_PDC_OLD is not set # CONFIG_PATA_QDI is not set # CONFIG_PATA_RADISYS is not set # CONFIG_PATA_RZ1000 is not set # CONFIG_PATA_SC1200 is not set # CONFIG_PATA_SERVERWORKS is not set # CONFIG_PATA_PDC2027X is not set # CONFIG_PATA_SIL680 is not set CONFIG_PATA_SIS=y CONFIG_PATA_VIA=y CONFIG_PATA_WINBOND=y # CONFIG_PATA_WINBOND_VLB is not set # CONFIG_MD is not set # CONFIG_FUSION is not set # # IEEE 1394 (FireWire) support # # CONFIG_FIREWIRE is not set # CONFIG_IEEE1394 is not set # CONFIG_I2O is not set # CONFIG_MACINTOSH_DRIVERS is not set CONFIG_NETDEVICES=y # CONFIG_NETDEVICES_MULTIQUEUE is not set CONFIG_DUMMY=y # CONFIG_BONDING is not set # CONFIG_MACVLAN is not set # CONFIG_EQUALIZER is not set CONFIG_TUN=m CONFIG_VETH=m # CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set CONFIG_PHYLIB=m # # MII PHY device drivers # # CONFIG_MARVELL_PHY is not set # CONFIG_DAVICOM_PHY is not set # CONFIG_QSEMI_PHY is not set # CONFIG_LXT_PHY is not set # CONFIG_CICADA_PHY is not set # CONFIG_VITESSE_PHY is not set # CONFIG_SMSC_PHY is not set # CONFIG_BROADCOM_PHY is not set # CONFIG_ICPLUS_PHY is not set # CONFIG_REALTEK_PHY is not set # CONFIG_MDIO_BITBANG is not set CONFIG_NET_ETHERNET=y CONFIG_MII=y # CONFIG_HAPPYMEAL is not set # CONFIG_SUNGEM is not set # CONFIG_CASSINI is not set # CONFIG_NET_VENDOR_3COM is not set # CONFIG_LANCE is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_NET_TULIP is not set # CONFIG_AT1700 is not set # CONFIG_DEPCA is not set # CONFIG_HP100 is not set # CONFIG_NET_ISA is not set # CONFIG_IBM_NEW_EMAC_ZMII is not set # CONFIG_IBM_NEW_EMAC_RGMII is not set # CONFIG_IBM_NEW_EMAC_TAH is not set # CONFIG_IBM_NEW_EMAC_EMAC4 is not set CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set # CONFIG_AMD8111_ETH is not set # CONFIG_ADAPTEC_STARFIRE is not set # CONFIG_AC3200 is not set # CONFIG_APRICOT is not set # CONFIG_B44 is not set # CONFIG_FORCEDETH is not set # CONFIG_CS89x0 is not set # CONFIG_EEPRO100 is not set # CONFIG_E100 is not set # CONFIG_FEALNX is not set # CONFIG_NATSEMI is not set # CONFIG_NE2K_PCI is not set # CONFIG_8139CP is not set CONFIG_8139TOO=y # CONFIG_8139TOO_PIO is not set # CONFIG_8139TOO_TUNE_TWISTER is not set # CONFIG_8139TOO_8129 is not set # CONFIG_8139_OLD_RX_RESET is not set # CONFIG_R6040 is not set # CONFIG_SIS900 is not set # CONFIG_EPIC100 is not set # CONFIG_SUNDANCE is not set # CONFIG_TLAN is not set # CONFIG_VIA_RHINE is not set # CONFIG_SC92031 is not set CONFIG_NETDEV_1000=y # CONFIG_ACENIC is not set # CONFIG_DL2K is not set # CONFIG_E1000 is not set # CONFIG_E1000E is not set # CONFIG_E1000E_ENABLED is not set # CONFIG_IP1000 is not set # CONFIG_IGB is not set # CONFIG_NS83820 is not set # CONFIG_HAMACHI is not set # CONFIG_YELLOWFIN is not set # CONFIG_R8169 is not set # CONFIG_SIS190 is not set # CONFIG_SKGE is not set # CONFIG_SKY2 is not set # CONFIG_SK98LIN is not set # CONFIG_VIA_VELOCITY is not set # CONFIG_TIGON3 is not set # CONFIG_BNX2 is not set # CONFIG_QLA3XXX is not set # CONFIG_ATL1 is not set CONFIG_NETDEV_10000=y # CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T3 is not set # CONFIG_IXGBE is not set # CONFIG_IXGB is not set # CONFIG_S2IO is not set # CONFIG_MYRI10GE is not set # CONFIG_NETXEN_NIC is not set # CONFIG_NIU is not set # CONFIG_MLX4_CORE is not set # CONFIG_TEHUTI is not set # CONFIG_BNX2X is not set # CONFIG_TR is not set # # Wireless LAN # # CONFIG_WLAN_PRE80211 is not set CONFIG_WLAN_80211=y # CONFIG_PCMCIA_RAYCS is not set # CONFIG_IPW2100 is not set # CONFIG_IPW2200 is not set # CONFIG_LIBERTAS is not set # CONFIG_AIRO is not set CONFIG_HERMES=m # CONFIG_PLX_HERMES is not set # CONFIG_TMD_HERMES is not set # CONFIG_NORTEL_HERMES is not set CONFIG_PCI_HERMES=m CONFIG_PCMCIA_HERMES=m # CONFIG_PCMCIA_SPECTRUM is not set # CONFIG_ATMEL is not set # CONFIG_AIRO_CS is not set # CONFIG_PCMCIA_WL3501 is not set # CONFIG_PRISM54 is not set # CONFIG_USB_ZD1201 is not set # CONFIG_USB_NET_RNDIS_WLAN is not set # CONFIG_RTL8180 is not set # CONFIG_RTL8187 is not set # CONFIG_ADM8211 is not set # CONFIG_P54_COMMON is not set # CONFIG_ATH5K is not set # CONFIG_IWL4965 is not set # CONFIG_IWL3945 is not set # CONFIG_HOSTAP is not set # CONFIG_BCM43XX is not set # CONFIG_B43 is not set # CONFIG_B43LEGACY is not set # CONFIG_ZD1211RW is not set # CONFIG_RT2X00 is not set # # USB Network Adapters # # CONFIG_USB_CATC is not set # CONFIG_USB_KAWETH is not set # CONFIG_USB_PEGASUS is not set # CONFIG_USB_RTL8150 is not set # CONFIG_USB_USBNET is not set # CONFIG_NET_PCMCIA is not set # CONFIG_WAN is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m # CONFIG_PPP_SYNC_TTY is not set CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE=m CONFIG_PPPOE=m CONFIG_PPPOL2TP=m # CONFIG_SLIP is not set CONFIG_SLHC=m # CONFIG_NET_FC is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_ISDN is not set # CONFIG_PHONE is not set # # Input device support # CONFIG_INPUT=y # CONFIG_INPUT_FF_MEMLESS is not set CONFIG_INPUT_POLLDEV=m # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y # CONFIG_INPUT_MOUSEDEV_PSAUX is not set CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 # CONFIG_INPUT_JOYDEV is not set CONFIG_INPUT_EVDEV=y # CONFIG_INPUT_EVBUG is not set # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_SUNKBD is not set # CONFIG_KEYBOARD_LKKBD is not set # CONFIG_KEYBOARD_XTKBD is not set # CONFIG_KEYBOARD_NEWTON is not set # CONFIG_KEYBOARD_STOWAWAY is not set CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y CONFIG_MOUSE_PS2_ALPS=y CONFIG_MOUSE_PS2_LOGIPS2PP=y CONFIG_MOUSE_PS2_SYNAPTICS=y CONFIG_MOUSE_PS2_LIFEBOOK=y CONFIG_MOUSE_PS2_TRACKPOINT=y # CONFIG_MOUSE_PS2_TOUCHKIT is not set # CONFIG_MOUSE_SERIAL is not set # CONFIG_MOUSE_APPLETOUCH is not set # CONFIG_MOUSE_INPORT is not set # CONFIG_MOUSE_LOGIBM is not set # CONFIG_MOUSE_PC110PAD is not set # CONFIG_MOUSE_VSXXXAA is not set # CONFIG_INPUT_JOYSTICK is not set # CONFIG_INPUT_TABLET is not set # CONFIG_INPUT_TOUCHSCREEN is not set # CONFIG_INPUT_MISC is not set # # Hardware I/O ports # CONFIG_SERIO=y CONFIG_SERIO_I8042=y # CONFIG_SERIO_SERPORT is not set # CONFIG_SERIO_CT82C710 is not set # CONFIG_SERIO_PCIPS2 is not set CONFIG_SERIO_LIBPS2=y # CONFIG_SERIO_RAW is not set # CONFIG_GAMEPORT is not set # # Character devices # CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_NOZOMI is not set # # Serial drivers # CONFIG_SERIAL_8250=m CONFIG_FIX_EARLYCON_MEM=y CONFIG_SERIAL_8250_PCI=m CONFIG_SERIAL_8250_PNP=m CONFIG_SERIAL_8250_CS=m CONFIG_SERIAL_8250_NR_UARTS=4 CONFIG_SERIAL_8250_RUNTIME_UARTS=4 CONFIG_SERIAL_8250_EXTENDED=y # CONFIG_SERIAL_8250_MANY_PORTS is not set # CONFIG_SERIAL_8250_SHARE_IRQ is not set # CONFIG_SERIAL_8250_DETECT_IRQ is not set # CONFIG_SERIAL_8250_RSA is not set # # Non-8250 serial port support # CONFIG_SERIAL_CORE=m # CONFIG_SERIAL_JSM is not set CONFIG_UNIX98_PTYS=y # CONFIG_LEGACY_PTYS is not set # CONFIG_IPMI_HANDLER is not set CONFIG_HW_RANDOM=y CONFIG_HW_RANDOM_INTEL=y # CONFIG_HW_RANDOM_AMD is not set # CONFIG_HW_RANDOM_GEODE is not set # CONFIG_HW_RANDOM_VIA is not set # CONFIG_NVRAM is not set # CONFIG_RTC is not set # CONFIG_GEN_RTC is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set # CONFIG_SONYPI is not set # # PCMCIA character devices # # CONFIG_SYNCLINK_CS is not set CONFIG_CARDMAN_4000=m CONFIG_CARDMAN_4040=m # CONFIG_IPWIRELESS is not set # CONFIG_MWAVE is not set # CONFIG_PC8736x_GPIO is not set # CONFIG_NSC_GPIO is not set # CONFIG_CS5535_GPIO is not set # CONFIG_RAW_DRIVER is not set # CONFIG_HPET is not set # CONFIG_HANGCHECK_TIMER is not set CONFIG_TCG_TPM=m CONFIG_TCG_TIS=m # CONFIG_TCG_NSC is not set # CONFIG_TCG_ATMEL is not set # CONFIG_TCG_INFINEON is not set # CONFIG_TELCLOCK is not set CONFIG_DEVPORT=y # CONFIG_I2C is not set # # SPI support # # CONFIG_SPI is not set # CONFIG_SPI_MASTER is not set # CONFIG_W1 is not set CONFIG_POWER_SUPPLY=y # CONFIG_POWER_SUPPLY_DEBUG is not set # CONFIG_PDA_POWER is not set # CONFIG_BATTERY_DS2760 is not set CONFIG_HWMON=m CONFIG_HWMON_VID=m CONFIG_SENSORS_ABITUGURU=m CONFIG_SENSORS_ABITUGURU3=m # CONFIG_SENSORS_K8TEMP is not set CONFIG_SENSORS_I5K_AMB=m # CONFIG_SENSORS_F71805F is not set # CONFIG_SENSORS_F71882FG is not set CONFIG_SENSORS_CORETEMP=m # CONFIG_SENSORS_IT87 is not set # CONFIG_SENSORS_PC87360 is not set # CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_SIS5595 is not set # CONFIG_SENSORS_SMSC47M1 is not set # CONFIG_SENSORS_SMSC47B397 is not set CONFIG_SENSORS_VIA686A=m CONFIG_SENSORS_VT1211=m CONFIG_SENSORS_VT8231=m CONFIG_SENSORS_W83627HF=m CONFIG_SENSORS_W83627EHF=m CONFIG_SENSORS_HDAPS=m # CONFIG_SENSORS_APPLESMC is not set # CONFIG_HWMON_DEBUG_CHIP is not set CONFIG_THERMAL=y # CONFIG_WATCHDOG is not set # # Sonics Silicon Backplane # CONFIG_SSB_POSSIBLE=y # CONFIG_SSB is not set # # Multifunction device drivers # # CONFIG_MFD_SM501 is not set # # Multimedia devices # CONFIG_VIDEO_DEV=m CONFIG_VIDEO_V4L2_COMMON=m CONFIG_VIDEO_V4L1=y CONFIG_VIDEO_V4L1_COMPAT=y CONFIG_VIDEO_V4L2=y CONFIG_VIDEO_CAPTURE_DRIVERS=y # CONFIG_VIDEO_ADV_DEBUG is not set CONFIG_VIDEO_HELPER_CHIPS_AUTO=y CONFIG_VIDEO_VIVI=m CONFIG_VIDEO_PMS=m CONFIG_VIDEO_CPIA=m CONFIG_VIDEO_CPIA_USB=m CONFIG_VIDEO_CPIA2=m CONFIG_VIDEO_STRADIS=m CONFIG_V4L_USB_DRIVERS=y CONFIG_VIDEO_USBVIDEO=m CONFIG_USB_VICAM=m CONFIG_USB_IBMCAM=m CONFIG_USB_KONICAWC=m CONFIG_USB_QUICKCAM_MESSENGER=m CONFIG_USB_ET61X251=m CONFIG_USB_OV511=m CONFIG_USB_SE401=m CONFIG_USB_SN9C102=m CONFIG_USB_STV680=m CONFIG_USB_ZC0301=m CONFIG_USB_PWC=m # CONFIG_USB_PWC_DEBUG is not set CONFIG_USB_ZR364XX=m CONFIG_USB_STKWEBCAM=m CONFIG_RADIO_ADAPTERS=y CONFIG_RADIO_CADET=m CONFIG_RADIO_RTRACK=m CONFIG_RADIO_RTRACK2=m CONFIG_RADIO_AZTECH=m CONFIG_RADIO_GEMTEK=m CONFIG_RADIO_GEMTEK_PCI=m CONFIG_RADIO_MAXIRADIO=m CONFIG_RADIO_MAESTRO=m CONFIG_RADIO_SF16FMI=m CONFIG_RADIO_SF16FMR2=m CONFIG_RADIO_TERRATEC=m CONFIG_RADIO_TRUST=m CONFIG_RADIO_TYPHOON=m # CONFIG_RADIO_TYPHOON_PROC_FS is not set CONFIG_RADIO_ZOLTRIX=m CONFIG_USB_DSBR=m CONFIG_USB_SI470X=m CONFIG_DVB_CORE=m CONFIG_DVB_CORE_ATTACH=y CONFIG_DVB_CAPTURE_DRIVERS=y # CONFIG_TTPCI_EEPROM is not set CONFIG_DVB_TTUSB_DEC=m CONFIG_DVB_CINERGYT2=m CONFIG_DVB_CINERGYT2_TUNING=y CONFIG_DVB_CINERGYT2_STREAM_URB_COUNT=32 CONFIG_DVB_CINERGYT2_STREAM_BUF_SIZE=512 CONFIG_DVB_CINERGYT2_QUERY_INTERVAL=250 CONFIG_DVB_CINERGYT2_ENABLE_RC_INPUT_DEVICE=y CONFIG_DVB_CINERGYT2_RC_QUERY_INTERVAL=50 # # Supported DVB Frontends # # # Customise DVB Frontends # # CONFIG_DVB_FE_CUSTOMISE is not set # # DVB-S (satellite) frontends # # # DVB-T (terrestrial) frontends # # # DVB-C (cable) frontends # # # ATSC (North American/Korean Terrestrial/Cable DTV) frontends # # # Tuners/PLL support # # # Miscellaneous devices # CONFIG_VIDEOBUF_GEN=m CONFIG_VIDEOBUF_VMALLOC=m CONFIG_DAB=y CONFIG_USB_DABUSB=m # # Graphics support # CONFIG_AGP=y CONFIG_AGP_ALI=y CONFIG_AGP_ATI=y # CONFIG_AGP_AMD is not set # CONFIG_AGP_AMD64 is not set CONFIG_AGP_INTEL=y CONFIG_AGP_NVIDIA=y CONFIG_AGP_SIS=y # CONFIG_AGP_SWORKS is not set CONFIG_AGP_VIA=y # CONFIG_AGP_EFFICEON is not set CONFIG_DRM=y # CONFIG_DRM_TDFX is not set # CONFIG_DRM_R128 is not set CONFIG_DRM_RADEON=y # CONFIG_DRM_I810 is not set # CONFIG_DRM_I830 is not set CONFIG_DRM_I915=y # CONFIG_DRM_MGA is not set CONFIG_DRM_SIS=y # CONFIG_DRM_VIA is not set # CONFIG_DRM_SAVAGE is not set # CONFIG_VGASTATE is not set CONFIG_VIDEO_OUTPUT_CONTROL=m # CONFIG_FB is not set CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_LCD_CLASS_DEVICE=m CONFIG_BACKLIGHT_CLASS_DEVICE=m CONFIG_BACKLIGHT_CORGI=m CONFIG_BACKLIGHT_PROGEAR=m # # Display device support # CONFIG_DISPLAY_SUPPORT=m # # Display hardware drivers # # # Console display driver support # CONFIG_VGA_CONSOLE=y # CONFIG_VGACON_SOFT_SCROLLBACK is not set # CONFIG_VIDEO_SELECT is not set # CONFIG_MDA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y # # Sound # CONFIG_SOUND=m # # Advanced Linux Sound Architecture # CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_PCM_OSS_PLUGINS=y CONFIG_SND_SEQUENCER_OSS=y # CONFIG_SND_DYNAMIC_MINORS is not set CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set # # Generic devices # CONFIG_SND_MPU401_UART=m CONFIG_SND_OPL3_LIB=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_DUMMY=m CONFIG_SND_VIRMIDI=m CONFIG_SND_MTPAV=m CONFIG_SND_SERIAL_U16550=m CONFIG_SND_MPU401=m CONFIG_SND_SB_COMMON=m CONFIG_SND_SB8_DSP=m CONFIG_SND_SB16_DSP=m # # ISA devices # CONFIG_SND_ADLIB=m # CONFIG_SND_AD1816A is not set # CONFIG_SND_AD1848 is not set # CONFIG_SND_ALS100 is not set # CONFIG_SND_AZT2320 is not set # CONFIG_SND_CMI8330 is not set # CONFIG_SND_CS4231 is not set # CONFIG_SND_CS4232 is not set # CONFIG_SND_CS4236 is not set # CONFIG_SND_DT019X is not set # CONFIG_SND_ES968 is not set # CONFIG_SND_ES1688 is not set # CONFIG_SND_ES18XX is not set # CONFIG_SND_SC6000 is not set # CONFIG_SND_GUSCLASSIC is not set # CONFIG_SND_GUSEXTREME is not set # CONFIG_SND_GUSMAX is not set # CONFIG_SND_INTERWAVE is not set # CONFIG_SND_INTERWAVE_STB is not set # CONFIG_SND_OPL3SA2 is not set # CONFIG_SND_OPTI92X_AD1848 is not set # CONFIG_SND_OPTI92X_CS4231 is not set # CONFIG_SND_OPTI93X is not set # CONFIG_SND_MIRO is not set CONFIG_SND_SB8=m CONFIG_SND_SB16=m CONFIG_SND_SBAWE=m CONFIG_SND_SB16_CSP=y CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL=y # CONFIG_SND_SGALAXY is not set # CONFIG_SND_SSCAPE is not set # CONFIG_SND_WAVEFRONT is not set # # PCI devices # CONFIG_SND_AD1889=m CONFIG_SND_ALS300=m CONFIG_SND_ALS4000=m CONFIG_SND_ALI5451=m CONFIG_SND_ATIIXP=m CONFIG_SND_ATIIXP_MODEM=m CONFIG_SND_AU8810=m CONFIG_SND_AU8820=m CONFIG_SND_AU8830=m CONFIG_SND_AZT3328=m CONFIG_SND_BT87X=m CONFIG_SND_BT87X_OVERCLOCK=y CONFIG_SND_CA0106=m CONFIG_SND_CMIPCI=m CONFIG_SND_OXYGEN_LIB=m CONFIG_SND_OXYGEN=m CONFIG_SND_CS4281=m CONFIG_SND_CS46XX=m CONFIG_SND_CS46XX_NEW_DSP=y CONFIG_SND_CS5530=m CONFIG_SND_CS5535AUDIO=m # CONFIG_SND_DARLA20 is not set # CONFIG_SND_GINA20 is not set # CONFIG_SND_LAYLA20 is not set # CONFIG_SND_DARLA24 is not set # CONFIG_SND_GINA24 is not set # CONFIG_SND_LAYLA24 is not set # CONFIG_SND_MONA is not set # CONFIG_SND_MIA is not set # CONFIG_SND_ECHO3G is not set # CONFIG_SND_INDIGO is not set # CONFIG_SND_INDIGOIO is not set # CONFIG_SND_INDIGODJ is not set CONFIG_SND_EMU10K1=m # CONFIG_SND_EMU10K1X is not set # CONFIG_SND_ENS1370 is not set # CONFIG_SND_ENS1371 is not set # CONFIG_SND_ES1938 is not set # CONFIG_SND_ES1968 is not set # CONFIG_SND_FM801 is not set CONFIG_SND_HDA_INTEL=m # CONFIG_SND_HDA_HWDEP is not set CONFIG_SND_HDA_CODEC_REALTEK=y CONFIG_SND_HDA_CODEC_ANALOG=y CONFIG_SND_HDA_CODEC_SIGMATEL=y CONFIG_SND_HDA_CODEC_VIA=y CONFIG_SND_HDA_CODEC_ATIHDMI=y CONFIG_SND_HDA_CODEC_CONEXANT=y CONFIG_SND_HDA_CODEC_CMEDIA=y CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y CONFIG_SND_HDA_POWER_SAVE=y CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 # CONFIG_SND_HDSP is not set # CONFIG_SND_HDSPM is not set # CONFIG_SND_HIFIER is not set # CONFIG_SND_ICE1712 is not set # CONFIG_SND_ICE1724 is not set CONFIG_SND_INTEL8X0=m CONFIG_SND_INTEL8X0M=m # CONFIG_SND_KORG1212 is not set # CONFIG_SND_MAESTRO3 is not set # CONFIG_SND_MIXART is not set # CONFIG_SND_NM256 is not set # CONFIG_SND_PCXHR is not set # CONFIG_SND_RIPTIDE is not set # CONFIG_SND_RME32 is not set # CONFIG_SND_RME96 is not set # CONFIG_SND_RME9652 is not set CONFIG_SND_SIS7019=m CONFIG_SND_SONICVIBES=m # CONFIG_SND_TRIDENT is not set CONFIG_SND_VIA82XX=m CONFIG_SND_VIA82XX_MODEM=m # CONFIG_SND_VIRTUOSO is not set # CONFIG_SND_VX222 is not set # CONFIG_SND_YMFPCI is not set CONFIG_SND_AC97_POWER_SAVE=y CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0 # # USB devices # CONFIG_SND_USB_AUDIO=m # CONFIG_SND_USB_USX2Y is not set # CONFIG_SND_USB_CAIAQ is not set # # PCMCIA devices # # CONFIG_SND_VXPOCKET is not set # CONFIG_SND_PDAUDIOCF is not set # # System on Chip audio support # CONFIG_SND_SOC=m # # SoC Audio support for SuperH # # # ALSA SoC audio for Freescale SOCs # # # Open Sound System # CONFIG_SOUND_PRIME=m CONFIG_SOUND_TRIDENT=m # CONFIG_SOUND_MSNDCLAS is not set # CONFIG_SOUND_MSNDPIN is not set CONFIG_SOUND_OSS=m # CONFIG_SOUND_TRACEINIT is not set # CONFIG_SOUND_DMAP is not set # CONFIG_SOUND_SSCAPE is not set CONFIG_SOUND_VMIDI=m # CONFIG_SOUND_TRIX is not set CONFIG_SOUND_MSS=m CONFIG_SOUND_MPU401=m # CONFIG_SOUND_PAS is not set # CONFIG_SOUND_PSS is not set CONFIG_SOUND_SB=m # CONFIG_SOUND_YM3812 is not set # CONFIG_SOUND_UART6850 is not set # CONFIG_SOUND_AEDSP16 is not set # CONFIG_SOUND_KAHLUA is not set CONFIG_AC97_BUS=m CONFIG_HID_SUPPORT=y CONFIG_HID=y # CONFIG_HID_DEBUG is not set # CONFIG_HIDRAW is not set # # USB Input Devices # CONFIG_USB_HID=m # CONFIG_USB_HIDINPUT_POWERBOOK is not set # CONFIG_HID_FF is not set CONFIG_USB_HIDDEV=y # # USB HID Boot Protocol drivers # # CONFIG_USB_KBD is not set # CONFIG_USB_MOUSE is not set CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set # # Miscellaneous USB options # CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICE_CLASS=y # CONFIG_USB_DYNAMIC_MINORS is not set CONFIG_USB_SUSPEND=y # CONFIG_USB_PERSIST is not set # CONFIG_USB_OTG is not set # # USB Host Controller Drivers # CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=y # CONFIG_USB_ISP116X_HCD is not set # CONFIG_USB_OHCI_HCD is not set CONFIG_USB_UHCI_HCD=y # CONFIG_USB_SL811_HCD is not set # CONFIG_USB_R8A66597_HCD is not set # # USB Device Class drivers # # CONFIG_USB_ACM is not set CONFIG_USB_PRINTER=m # # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' # # # may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=y # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_DPCM=y CONFIG_USB_STORAGE_USBAT=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_KARMA is not set CONFIG_USB_LIBUSUAL=y # # USB Imaging devices # # CONFIG_USB_MDC800 is not set # CONFIG_USB_MICROTEK is not set # CONFIG_USB_MON is not set # # USB port drivers # CONFIG_USB_SERIAL=m CONFIG_USB_EZUSB=y CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_AIRCABLE=m CONFIG_USB_SERIAL_AIRPRIME=m CONFIG_USB_SERIAL_ARK3116=m CONFIG_USB_SERIAL_BELKIN=m # CONFIG_USB_SERIAL_CH341 is not set CONFIG_USB_SERIAL_WHITEHEAT=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m CONFIG_USB_SERIAL_CP2101=m CONFIG_USB_SERIAL_CYPRESS_M8=m CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m # CONFIG_USB_SERIAL_FUNSOFT is not set CONFIG_USB_SERIAL_VISOR=m CONFIG_USB_SERIAL_IPAQ=m CONFIG_USB_SERIAL_IR=m CONFIG_USB_SERIAL_EDGEPORT=m CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_GARMIN=m CONFIG_USB_SERIAL_IPW=m # CONFIG_USB_SERIAL_IUU is not set CONFIG_USB_SERIAL_KEYSPAN_PDA=m CONFIG_USB_SERIAL_KEYSPAN=m CONFIG_USB_SERIAL_KEYSPAN_MPR=y CONFIG_USB_SERIAL_KEYSPAN_USA28=y CONFIG_USB_SERIAL_KEYSPAN_USA28X=y CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y CONFIG_USB_SERIAL_KEYSPAN_USA19=y CONFIG_USB_SERIAL_KEYSPAN_USA18X=y CONFIG_USB_SERIAL_KEYSPAN_USA19W=y CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y CONFIG_USB_SERIAL_KEYSPAN_USA49W=y CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y CONFIG_USB_SERIAL_KLSI=m CONFIG_USB_SERIAL_KOBIL_SCT=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_MOS7720=m CONFIG_USB_SERIAL_MOS7840=m CONFIG_USB_SERIAL_NAVMAN=m CONFIG_USB_SERIAL_PL2303=m # CONFIG_USB_SERIAL_OTI6858 is not set CONFIG_USB_SERIAL_HP4X=m CONFIG_USB_SERIAL_SAFE=m CONFIG_USB_SERIAL_SAFE_PADDED=y CONFIG_USB_SERIAL_SIERRAWIRELESS=m CONFIG_USB_SERIAL_TI=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OPTION=m CONFIG_USB_SERIAL_OMNINET=m # CONFIG_USB_SERIAL_DEBUG is not set # # USB Miscellaneous drivers # # CONFIG_USB_EMI62 is not set # CONFIG_USB_EMI26 is not set # CONFIG_USB_ADUTUX is not set # CONFIG_USB_AUERSWALD is not set # CONFIG_USB_RIO500 is not set # CONFIG_USB_LEGOTOWER is not set # CONFIG_USB_LCD is not set # CONFIG_USB_BERRY_CHARGE is not set # CONFIG_USB_LED is not set # CONFIG_USB_CYPRESS_CY7C63 is not set # CONFIG_USB_CYTHERM is not set # CONFIG_USB_PHIDGET is not set # CONFIG_USB_IDMOUSE is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_USB_APPLEDISPLAY is not set # CONFIG_USB_SISUSBVGA is not set # CONFIG_USB_LD is not set # CONFIG_USB_TRANCEVIBRATOR is not set # CONFIG_USB_IOWARRIOR is not set # CONFIG_USB_TEST is not set # CONFIG_USB_GADGET is not set # CONFIG_MMC is not set # CONFIG_MEMSTICK is not set # CONFIG_NEW_LEDS is not set # CONFIG_INFINIBAND is not set CONFIG_EDAC=y # # Reporting subsystems # # CONFIG_EDAC_DEBUG is not set CONFIG_EDAC_MM_EDAC=y # CONFIG_EDAC_AMD76X is not set CONFIG_EDAC_E7XXX=m CONFIG_EDAC_E752X=m CONFIG_EDAC_I82875P=m CONFIG_EDAC_I82975X=m CONFIG_EDAC_I3000=m CONFIG_EDAC_I82860=m # CONFIG_EDAC_R82600 is not set CONFIG_EDAC_I5000=m # CONFIG_RTC_CLASS is not set CONFIG_DMADEVICES=y # # DMA Devices # CONFIG_INTEL_IOATDMA=m CONFIG_DMA_ENGINE=y # # DMA Clients # CONFIG_NET_DMA=y CONFIG_DCA=m # # Userspace I/O # # CONFIG_UIO is not set # # Firmware Drivers # # CONFIG_EDD is not set # CONFIG_DELL_RBU is not set # CONFIG_DCDBAS is not set CONFIG_DMIID=y # # File systems # CONFIG_EXT2_FS=y # CONFIG_EXT2_FS_XATTR is not set # CONFIG_EXT2_FS_XIP is not set CONFIG_EXT3_FS=y # CONFIG_EXT3_FS_XATTR is not set # CONFIG_EXT4DEV_FS is not set CONFIG_JBD=y CONFIG_REISERFS_FS=y # CONFIG_REISERFS_CHECK is not set # CONFIG_REISERFS_PROC_INFO is not set # CONFIG_REISERFS_FS_XATTR is not set # CONFIG_JFS_FS is not set CONFIG_FS_POSIX_ACL=y # CONFIG_XFS_FS is not set # CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set CONFIG_DNOTIFY=y CONFIG_INOTIFY=y CONFIG_INOTIFY_USER=y # CONFIG_QUOTA is not set # CONFIG_AUTOFS_FS is not set # CONFIG_AUTOFS4_FS is not set CONFIG_FUSE_FS=y # # CD-ROM/DVD Filesystems # CONFIG_ISO9660_FS=m CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_UDF_FS=m CONFIG_UDF_NLS=y # # DOS/FAT/NT Filesystems # CONFIG_FAT_FS=y CONFIG_MSDOS_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" CONFIG_NTFS_FS=y # CONFIG_NTFS_DEBUG is not set CONFIG_NTFS_RW=y # # Pseudo filesystems # CONFIG_PROC_FS=y # CONFIG_PROC_KCORE is not set CONFIG_PROC_SYSCTL=y CONFIG_SYSFS=y CONFIG_TMPFS=y # CONFIG_TMPFS_POSIX_ACL is not set # CONFIG_HUGETLBFS is not set # CONFIG_HUGETLB_PAGE is not set CONFIG_CONFIGFS_FS=m # # Miscellaneous filesystems # # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_ECRYPT_FS is not set # CONFIG_HFS_FS is not set # CONFIG_HFSPLUS_FS is not set # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set CONFIG_CRAMFS=y # CONFIG_VXFS_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_HPFS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_ROMFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_UFS_FS is not set CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y CONFIG_NFS_DIRECTIO=y CONFIG_NFSD=m CONFIG_NFSD_V2_ACL=y CONFIG_NFSD_V3=y CONFIG_NFSD_V3_ACL=y CONFIG_NFSD_V4=y CONFIG_NFSD_TCP=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_ACL_SUPPORT=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m CONFIG_SUNRPC_GSS=m CONFIG_SUNRPC_BIND34=y CONFIG_RPCSEC_GSS_KRB5=m CONFIG_RPCSEC_GSS_SPKM3=m # CONFIG_SMB_FS is not set CONFIG_CIFS=m # CONFIG_CIFS_STATS is not set CONFIG_CIFS_WEAK_PW_HASH=y # CONFIG_CIFS_XATTR is not set # CONFIG_CIFS_DEBUG2 is not set CONFIG_CIFS_EXPERIMENTAL=y CONFIG_CIFS_UPCALL=y CONFIG_CIFS_DFS_UPCALL=y # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set # CONFIG_AFS_FS is not set # # Partition Types # # CONFIG_PARTITION_ADVANCED is not set CONFIG_MSDOS_PARTITION=y CONFIG_NLS=y CONFIG_NLS_DEFAULT="iso8859-1" CONFIG_NLS_CODEPAGE_437=y # CONFIG_NLS_CODEPAGE_737 is not set # CONFIG_NLS_CODEPAGE_775 is not set CONFIG_NLS_CODEPAGE_850=y # CONFIG_NLS_CODEPAGE_852 is not set # CONFIG_NLS_CODEPAGE_855 is not set # CONFIG_NLS_CODEPAGE_857 is not set # CONFIG_NLS_CODEPAGE_860 is not set # CONFIG_NLS_CODEPAGE_861 is not set # CONFIG_NLS_CODEPAGE_862 is not set # CONFIG_NLS_CODEPAGE_863 is not set # CONFIG_NLS_CODEPAGE_864 is not set # CONFIG_NLS_CODEPAGE_865 is not set # CONFIG_NLS_CODEPAGE_866 is not set # CONFIG_NLS_CODEPAGE_869 is not set # CONFIG_NLS_CODEPAGE_936 is not set # CONFIG_NLS_CODEPAGE_950 is not set # CONFIG_NLS_CODEPAGE_932 is not set # CONFIG_NLS_CODEPAGE_949 is not set # CONFIG_NLS_CODEPAGE_874 is not set # CONFIG_NLS_ISO8859_8 is not set # CONFIG_NLS_CODEPAGE_1250 is not set # CONFIG_NLS_CODEPAGE_1251 is not set # CONFIG_NLS_ASCII is not set CONFIG_NLS_ISO8859_1=y # CONFIG_NLS_ISO8859_2 is not set # CONFIG_NLS_ISO8859_3 is not set # CONFIG_NLS_ISO8859_4 is not set # CONFIG_NLS_ISO8859_5 is not set # CONFIG_NLS_ISO8859_6 is not set # CONFIG_NLS_ISO8859_7 is not set # CONFIG_NLS_ISO8859_9 is not set # CONFIG_NLS_ISO8859_13 is not set # CONFIG_NLS_ISO8859_14 is not set CONFIG_NLS_ISO8859_15=y # CONFIG_NLS_KOI8_R is not set # CONFIG_NLS_KOI8_U is not set CONFIG_NLS_UTF8=y # CONFIG_DLM is not set # # Kernel hacking # CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set CONFIG_ENABLE_WARN_DEPRECATED=y # CONFIG_ENABLE_MUST_CHECK is not set CONFIG_MAGIC_SYSRQ=y # CONFIG_UNUSED_SYMBOLS is not set # CONFIG_DEBUG_FS is not set # CONFIG_HEADERS_CHECK is not set CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_SHIRQ is not set CONFIG_DETECT_SOFTLOCKUP=y # CONFIG_SCHED_DEBUG is not set # CONFIG_SCHEDSTATS is not set # CONFIG_TIMER_STATS is not set # CONFIG_DEBUG_SLAB is not set # CONFIG_DEBUG_PREEMPT is not set # CONFIG_DEBUG_RT_MUTEXES is not set # CONFIG_RT_MUTEX_TESTER is not set # CONFIG_DEBUG_SPINLOCK is not set # CONFIG_DEBUG_MUTEXES is not set # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_LOCK_STAT is not set # CONFIG_DEBUG_SPINLOCK_SLEEP is not set # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set # CONFIG_DEBUG_KOBJECT is not set CONFIG_DEBUG_BUGVERBOSE=y # CONFIG_DEBUG_INFO is not set # CONFIG_DEBUG_VM is not set # CONFIG_DEBUG_LIST is not set # CONFIG_DEBUG_SG is not set # CONFIG_FRAME_POINTER is not set # CONFIG_BOOT_PRINTK_DELAY is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_BACKTRACE_SELF_TEST is not set # CONFIG_FAULT_INJECTION is not set # CONFIG_LATENCYTOP is not set # CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set # CONFIG_SAMPLES is not set CONFIG_EARLY_PRINTK=y # CONFIG_DEBUG_STACKOVERFLOW is not set # CONFIG_DEBUG_STACK_USAGE is not set # CONFIG_DEBUG_PAGEALLOC is not set # CONFIG_DEBUG_RODATA is not set # CONFIG_DEBUG_NX_TEST is not set # CONFIG_4KSTACKS is not set CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_MPPARSE=y CONFIG_DOUBLEFAULT=y CONFIG_IO_DELAY_TYPE_0X80=0 CONFIG_IO_DELAY_TYPE_0XED=1 CONFIG_IO_DELAY_TYPE_UDELAY=2 CONFIG_IO_DELAY_TYPE_NONE=3 CONFIG_IO_DELAY_0X80=y # CONFIG_IO_DELAY_0XED is not set # CONFIG_IO_DELAY_UDELAY is not set # CONFIG_IO_DELAY_NONE is not set CONFIG_DEFAULT_IO_DELAY_TYPE=0 # CONFIG_CPA_DEBUG is not set # # Security options # CONFIG_KEYS=y CONFIG_KEYS_DEBUG_PROC_KEYS=y # CONFIG_SECURITY is not set # CONFIG_SECURITY_FILE_CAPABILITIES is not set CONFIG_CRYPTO=y CONFIG_CRYPTO_ALGAPI=y CONFIG_CRYPTO_BLKCIPHER=y # CONFIG_CRYPTO_SEQIV is not set CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_NULL=m # CONFIG_CRYPTO_MD4 is not set CONFIG_CRYPTO_MD5=m CONFIG_CRYPTO_SHA1=m # CONFIG_CRYPTO_SHA256 is not set CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m # CONFIG_CRYPTO_TGR192 is not set CONFIG_CRYPTO_GF128MUL=m CONFIG_CRYPTO_ECB=y CONFIG_CRYPTO_CBC=m CONFIG_CRYPTO_PCBC=m CONFIG_CRYPTO_LRW=m # CONFIG_CRYPTO_XTS is not set # CONFIG_CRYPTO_CTR is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_CCM is not set # CONFIG_CRYPTO_CRYPTD is not set CONFIG_CRYPTO_DES=m # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_TWOFISH is not set # CONFIG_CRYPTO_TWOFISH_586 is not set # CONFIG_CRYPTO_SERPENT is not set CONFIG_CRYPTO_AES=y CONFIG_CRYPTO_AES_586=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m # CONFIG_CRYPTO_TEA is not set CONFIG_CRYPTO_ARC4=y # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_ANUBIS is not set # CONFIG_CRYPTO_SEED is not set # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SALSA20_586 is not set CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_MICHAEL_MIC=y # CONFIG_CRYPTO_CRC32C is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_TEST is not set # CONFIG_CRYPTO_AUTHENC is not set # CONFIG_CRYPTO_LZO is not set CONFIG_CRYPTO_HW=y # CONFIG_CRYPTO_DEV_PADLOCK is not set # CONFIG_CRYPTO_DEV_GEODE is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set CONFIG_HAVE_KVM=y CONFIG_VIRTUALIZATION=y CONFIG_KVM=m CONFIG_KVM_INTEL=m # CONFIG_KVM_AMD is not set # CONFIG_LGUEST is not set # CONFIG_VIRTIO_PCI is not set # CONFIG_VIRTIO_BALLOON is not set # # Library routines # CONFIG_BITREVERSE=y CONFIG_CRC_CCITT=m # CONFIG_CRC16 is not set # CONFIG_CRC_ITU_T is not set CONFIG_CRC32=y # CONFIG_CRC7 is not set # CONFIG_LIBCRC32C is not set CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m CONFIG_PLIST=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT=y CONFIG_HAS_DMA=y ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 15:05 ` sampo @ 2008-05-01 16:34 ` Adrian Bunk 2008-05-01 16:38 ` sampo 0 siblings, 1 reply; 21+ messages in thread From: Adrian Bunk @ 2008-05-01 16:34 UTC (permalink / raw) To: sampo; +Cc: linux-kbuild On Thu, May 01, 2008 at 05:05:47PM +0200, sampo@symlabs.com wrote: > Adrian Bunk wrote: > > On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: > >> Platform: x86 > >> Compiler: gcc-3.4.6 > >> Binutils: 2.17.50.0.8 > >> Kernel under build: 2.6.25 (from kernel.org) > >> > >> Problem: Build fails due to incompatibility of asm-offsets.h with > >> assembler. See below: > >> > >> gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem > >> /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ > >> -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 > >> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > >> -Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o > >> arch/x86/kernel/entry_32.S > >> include/asm/asm-offsets.h: Assembler messages: > >> include/asm/asm-offsets.h:10: Error: invalid character '_' in mnemonic > >> include/asm/asm-offsets.h:11: Error: invalid character '_' in mnemonic > >> include/asm/asm-offsets.h:12: Error: invalid character '_' in mnemonic > >> include/asm/asm-offsets.h:13: Error: invalid character '_' in mnemonic > >> include/asm/asm-offsets.h:14: Error: invalid character '_' in mnemonic > >> include/asm/asm-offsets.h:15: Error: invalid character '_' in mnemonic > >> (snip - much more of the same) > >>... > > > > Thanks for your report. > > > > Please send: > > - your .config > > - your include/asm/asm-offsets.h > > Please see attached. FYI > > ls-alFg include/asm > lrwxrwxrwx 1 sampo sampo 7 May 1 02:30 include/asm -> asm-x86/ Thanks, the next things I need are: - arch/x86/kernel/asm-offsets.s - the output of "sed --version" > Cheers, > --Sampo Thanks in advance Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 16:34 ` Adrian Bunk @ 2008-05-01 16:38 ` sampo 2008-05-01 16:53 ` Adrian Bunk 0 siblings, 1 reply; 21+ messages in thread From: sampo @ 2008-05-01 16:38 UTC (permalink / raw) To: Adrian Bunk; +Cc: sampo, linux-kbuild [-- Attachment #1: Type: text/plain, Size: 2221 bytes --] Adrian Bunk wrote: > On Thu, May 01, 2008 at 05:05:47PM +0200, sampo@symlabs.com wrote: >> Adrian Bunk wrote: >> > On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: >> >> Platform: x86 >> >> Compiler: gcc-3.4.6 >> >> Binutils: 2.17.50.0.8 >> >> Kernel under build: 2.6.25 (from kernel.org) >> >> >> >> Problem: Build fails due to incompatibility of asm-offsets.h with >> >> assembler. See below: >> >> >> >> gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem >> >> /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ >> >> -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 >> >> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 >> >> -Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o >> >> arch/x86/kernel/entry_32.S >> >> include/asm/asm-offsets.h: Assembler messages: >> >> include/asm/asm-offsets.h:10: Error: invalid character '_' in >> mnemonic >> >> include/asm/asm-offsets.h:11: Error: invalid character '_' in >> mnemonic >> >> include/asm/asm-offsets.h:12: Error: invalid character '_' in >> mnemonic >> >> include/asm/asm-offsets.h:13: Error: invalid character '_' in >> mnemonic >> >> include/asm/asm-offsets.h:14: Error: invalid character '_' in >> mnemonic >> >> include/asm/asm-offsets.h:15: Error: invalid character '_' in >> mnemonic >> >> (snip - much more of the same) >> >>... >> > >> > Thanks for your report. >> > >> > Please send: >> > - your .config >> > - your include/asm/asm-offsets.h >> >> Please see attached. FYI >> >> ls-alFg include/asm >> lrwxrwxrwx 1 sampo sampo 7 May 1 02:30 include/asm -> asm-x86/ > > Thanks, the next things I need are: > - arch/x86/kernel/asm-offsets.s See attached. > - the output of "sed --version" sed --version GNU sed version 4.1.5-boot Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. To facilitate more rapid communication, my skype chat is sampo.kellomaki and my phone is +351-918.731.007. I stay up late so please do not hesitate to call at any hour. I am based in Lisbon. Cheers, --Sampo [-- Attachment #2: asm-offsets.s --] [-- Type: application/octet-stream, Size: 5578 bytes --] .file "asm-offsets.c" # GNU C version 3.4.6 (i686-pc-linux-gnu) # compiled by GNU C version 3.4.6. # GGC heuristics: --param ggc-min-expand=90 --param ggc-min-heapsize=113004 # options passed: -nostdinc -Iinclude -Iinclude/asm-x86/mach-default # -D__KERNEL__ -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 # -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(asm_offsets) # -DKBUILD_MODNAME=KBUILD_STR(asm_offsets) -isystem -include -MD -m32 # -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=i686 # -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -auxbase-strip -O2 -Wall -Wundef # -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration # -Wno-sign-compare -Wdeclaration-after-statement -fno-strict-aliasing # -fno-common -freg-struct-return -fno-unit-at-a-time -ffreestanding # -fno-asynchronous-unwind-tables -fomit-frame-pointer -fverbose-asm # options enabled: -feliminate-unused-debug-types -fdefer-pop # -fomit-frame-pointer -foptimize-sibling-calls -fcse-follow-jumps # -fcse-skip-blocks -fexpensive-optimizations -fthread-jumps # -fstrength-reduce -fpeephole -fforce-mem -ffunction-cse # -fkeep-static-consts -fcaller-saves -freg-struct-return -fgcse -fgcse-lm # -fgcse-sm -fgcse-las -floop-optimize -fcrossjumping -fif-conversion # -fif-conversion2 -frerun-cse-after-loop -frerun-loop-opt # -fdelete-null-pointer-checks -fschedule-insns2 -fsched-interblock # -fsched-spec -fsched-stalled-insns -fsched-stalled-insns-dep # -fbranch-count-reg -freorder-blocks -freorder-functions -fcprop-registers # -fverbose-asm -fregmove -foptimize-register-move -fargument-alias # -fmerge-constants -fzero-initialized-in-bss -fident -fpeephole2 # -fguess-branch-probability -fmath-errno -ftrapping-math -mieee-fp # -mfp-ret-in-387 -maccumulate-outgoing-args -mno-red-zone # -mtls-direct-seg-refs -mtune=i686 -march=i686 -mregparm=3 # -mpreferred-stack-boundary=2 .text .p2align 4,,15 .globl foo .type foo, @function foo: #APP ->IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # ->IA32_SIGCONTEXT_bx $32 offsetof(struct sigcontext, bx) # ->IA32_SIGCONTEXT_cx $40 offsetof(struct sigcontext, cx) # ->IA32_SIGCONTEXT_dx $36 offsetof(struct sigcontext, dx) # ->IA32_SIGCONTEXT_si $20 offsetof(struct sigcontext, si) # ->IA32_SIGCONTEXT_di $16 offsetof(struct sigcontext, di) # ->IA32_SIGCONTEXT_bp $24 offsetof(struct sigcontext, bp) # ->IA32_SIGCONTEXT_sp $28 offsetof(struct sigcontext, sp) # ->IA32_SIGCONTEXT_ip $56 offsetof(struct sigcontext, ip) # -> ->CPUINFO_x86 $0 offsetof(struct cpuinfo_x86, x86) # ->CPUINFO_x86_vendor $1 offsetof(struct cpuinfo_x86, x86_vendor) # ->CPUINFO_x86_model $2 offsetof(struct cpuinfo_x86, x86_model) # ->CPUINFO_x86_mask $3 offsetof(struct cpuinfo_x86, x86_mask) # ->CPUINFO_hard_math $6 offsetof(struct cpuinfo_x86, hard_math) # ->CPUINFO_cpuid_level $12 offsetof(struct cpuinfo_x86, cpuid_level) # ->CPUINFO_x86_capability $16 offsetof(struct cpuinfo_x86, x86_capability) # ->CPUINFO_x86_vendor_id $48 offsetof(struct cpuinfo_x86, x86_vendor_id) # -> ->TI_task $0 offsetof(struct thread_info, task) # ->TI_exec_domain $4 offsetof(struct thread_info, exec_domain) # ->TI_flags $8 offsetof(struct thread_info, flags) # ->TI_status $12 offsetof(struct thread_info, status) # ->TI_preempt_count $20 offsetof(struct thread_info, preempt_count) # ->TI_addr_limit $24 offsetof(struct thread_info, addr_limit) # ->TI_restart_block $32 offsetof(struct thread_info, restart_block) # ->TI_sysenter_return $28 offsetof(struct thread_info, sysenter_return) # ->TI_cpu $16 offsetof(struct thread_info, cpu) # -> ->GDS_size $0 offsetof(struct desc_ptr, size) # ->GDS_address $2 offsetof(struct desc_ptr, address) # -> ->PT_EBX $0 offsetof(struct pt_regs, bx) # ->PT_ECX $4 offsetof(struct pt_regs, cx) # ->PT_EDX $8 offsetof(struct pt_regs, dx) # ->PT_ESI $12 offsetof(struct pt_regs, si) # ->PT_EDI $16 offsetof(struct pt_regs, di) # ->PT_EBP $20 offsetof(struct pt_regs, bp) # ->PT_EAX $24 offsetof(struct pt_regs, ax) # ->PT_DS $28 offsetof(struct pt_regs, ds) # ->PT_ES $32 offsetof(struct pt_regs, es) # ->PT_FS $36 offsetof(struct pt_regs, fs) # ->PT_ORIG_EAX $40 offsetof(struct pt_regs, orig_ax) # ->PT_EIP $44 offsetof(struct pt_regs, ip) # ->PT_CS $48 offsetof(struct pt_regs, cs) # ->PT_EFLAGS $52 offsetof(struct pt_regs, flags) # ->PT_OLDESP $56 offsetof(struct pt_regs, sp) # ->PT_OLDSS $60 offsetof(struct pt_regs, ss) # -> ->EXEC_DOMAIN_handler $4 offsetof(struct exec_domain, handler) # ->IA32_RT_SIGFRAME_sigcontext $164 offsetof(struct rt_sigframe, uc.uc_mcontext) # -> ->pbe_address $0 offsetof(struct pbe, address) # ->pbe_orig_address $4 offsetof(struct pbe, orig_address) # ->pbe_next $8 offsetof(struct pbe, next) # ->TSS_sysenter_sp0 $-8700 offsetof(struct tss_struct, x86_tss.sp0) - sizeof(struct tss_struct) # ->PAGE_SIZE_asm $4096 PAGE_SIZE # ->PAGE_SHIFT_asm $12 PAGE_SHIFT # ->PTRS_PER_PTE $1024 PTRS_PER_PTE # ->PTRS_PER_PMD $1 PTRS_PER_PMD # ->PTRS_PER_PGD $1024 PTRS_PER_PGD # ->crypto_tfm_ctx_offset $48 offsetof(struct crypto_tfm, __crt_ctx) # -> ->BP_scratch $484 offsetof(struct boot_params, scratch) # ->BP_loadflags $529 offsetof(struct boot_params, hdr.loadflags) # ->BP_hardware_subarch $572 offsetof(struct boot_params, hdr.hardware_subarch) # ->BP_version $518 offsetof(struct boot_params, hdr.version) # #NO_APP ret .size foo, .-foo .local __force_order .comm __force_order,4,4 .section .note.GNU-stack,"",@progbits .ident "GCC: (GNU) 3.4.6" ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 16:38 ` sampo @ 2008-05-01 16:53 ` Adrian Bunk 2008-05-01 17:10 ` sampo 0 siblings, 1 reply; 21+ messages in thread From: Adrian Bunk @ 2008-05-01 16:53 UTC (permalink / raw) To: sampo; +Cc: linux-kbuild On Thu, May 01, 2008 at 06:38:23PM +0200, sampo@symlabs.com wrote: > Adrian Bunk wrote: > > On Thu, May 01, 2008 at 05:05:47PM +0200, sampo@symlabs.com wrote: > >> Adrian Bunk wrote: > >> > On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: > >> >> Platform: x86 > >> >> Compiler: gcc-3.4.6 > >> >> Binutils: 2.17.50.0.8 > >> >> Kernel under build: 2.6.25 (from kernel.org) > >> >> > >> >> Problem: Build fails due to incompatibility of asm-offsets.h with > >> >> assembler. See below: > >> >> > >> >> gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem > >> >> /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ > >> >> -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 > >> >> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > >> >> -Iinclude/asm-x86/mach-default -c -o arch/x86/kernel/entry_32.o > >> >> arch/x86/kernel/entry_32.S > >> >> include/asm/asm-offsets.h: Assembler messages: > >> >> include/asm/asm-offsets.h:10: Error: invalid character '_' in > >> mnemonic > >> >> include/asm/asm-offsets.h:11: Error: invalid character '_' in > >> mnemonic > >> >> include/asm/asm-offsets.h:12: Error: invalid character '_' in > >> mnemonic > >> >> include/asm/asm-offsets.h:13: Error: invalid character '_' in > >> mnemonic > >> >> include/asm/asm-offsets.h:14: Error: invalid character '_' in > >> mnemonic > >> >> include/asm/asm-offsets.h:15: Error: invalid character '_' in > >> mnemonic > >> >> (snip - much more of the same) > >> >>... > >> > > >> > Thanks for your report. > >> > > >> > Please send: > >> > - your .config > >> > - your include/asm/asm-offsets.h > >> > >> Please see attached. FYI > >> > >> ls-alFg include/asm > >> lrwxrwxrwx 1 sampo sampo 7 May 1 02:30 include/asm -> asm-x86/ > > > > Thanks, the next things I need are: > > - arch/x86/kernel/asm-offsets.s > > See attached. Thanks. > > - the output of "sed --version" > > sed --version > GNU sed version 4.1.5-boot >... Where does this "4.1.5-boot" version come from? Is this some stripped down version of sed? If you run sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" < asm-offsets.s with your asm-offsets.s file and this sed, does the result contain IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # or #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) # */ > To facilitate more rapid communication, >... You already answer faster than the speed of light. :-) > Cheers, > --Sampo Thanks Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 16:53 ` Adrian Bunk @ 2008-05-01 17:10 ` sampo 2008-05-01 18:53 ` `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) Oleg Verych 2008-05-01 19:17 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Adrian Bunk 0 siblings, 2 replies; 21+ messages in thread From: sampo @ 2008-05-01 17:10 UTC (permalink / raw) To: Adrian Bunk; +Cc: sampo, linux-kbuild Adrian Bunk wrote: > On Thu, May 01, 2008 at 06:38:23PM +0200, sampo@symlabs.com wrote: >> Adrian Bunk wrote: >> > On Thu, May 01, 2008 at 05:05:47PM +0200, sampo@symlabs.com wrote: >> >> Adrian Bunk wrote: >> >> > On Thu, May 01, 2008 at 07:07:55AM +0200, sampo@symlabs.com wrote: >> >> >> Platform: x86 >> >> >> Compiler: gcc-3.4.6 >> >> >> Binutils: 2.17.50.0.8 >> >> >> Kernel under build: 2.6.25 (from kernel.org) >> >> >> >> >> >> Problem: Build fails due to incompatibility of asm-offsets.h with >> >> >> assembler. See below: >> >> >> >> >> >> gcc -Wp,-MD,arch/x86/kernel/.entry_32.o.d -nostdinc -isystem >> >> >> /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include >> -D__KERNEL__ >> >> >> -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 >> >> >> -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 >> >> >> -Iinclude/asm-x86/mach-default -c -o >> arch/x86/kernel/entry_32.o >> >> >> arch/x86/kernel/entry_32.S >> >> >> include/asm/asm-offsets.h: Assembler messages: >> >> >> include/asm/asm-offsets.h:10: Error: invalid character '_' in >> >> mnemonic >> >> >> include/asm/asm-offsets.h:11: Error: invalid character '_' in >> >> mnemonic >> >> >> include/asm/asm-offsets.h:12: Error: invalid character '_' in >> >> mnemonic >> >> >> include/asm/asm-offsets.h:13: Error: invalid character '_' in >> >> mnemonic >> >> >> include/asm/asm-offsets.h:14: Error: invalid character '_' in >> >> mnemonic >> >> >> include/asm/asm-offsets.h:15: Error: invalid character '_' in >> >> mnemonic >> >> >> (snip - much more of the same) >> >> >>... >> >> > >> >> > Thanks for your report. >> >> > >> >> > Please send: >> >> > - your .config >> >> > - your include/asm/asm-offsets.h >> >> >> >> Please see attached. FYI >> >> >> >> ls-alFg include/asm >> >> lrwxrwxrwx 1 sampo sampo 7 May 1 02:30 include/asm -> asm-x86/ >> > >> > Thanks, the next things I need are: >> > - arch/x86/kernel/asm-offsets.s >> >> See attached. > > Thanks. > >> > - the output of "sed --version" >> >> sed --version >> GNU sed version 4.1.5-boot >>... > > Where does this "4.1.5-boot" version come from? > Is this some stripped down version of sed? Interesting question. I do use busybox as my userland for most purposes, but in case of sed I believe it really is the gnu sed. which sed /usr/bin/sed /usr/bin/sed --version GNU sed version 4.1.5-boot Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law. sampo@jin:/aino/linux 0$ /bin/sed --version This is not GNU sed version 4.0 The former, which is gnu sed, should be picked up by PATH. The latter which appears to be picked by make, is the busybox sed. The gnu sed was compiled by me for my own distro, hence -boot label, but has not been stripped down in any way. > If you run > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > \3 */:; s:->::; p;}" < asm-offsets.s > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) # */ #define IA32_SIGCONTEXT_bx 32 /* offsetof(struct sigcontext, bx) # */ #define IA32_SIGCONTEXT_cx 40 /* offsetof(struct sigcontext, cx) # */ #define IA32_SIGCONTEXT_dx 36 /* offsetof(struct sigcontext, dx) # */ #define IA32_SIGCONTEXT_si 20 /* offsetof(struct sigcontext, si) # */ #define IA32_SIGCONTEXT_di 16 /* offsetof(struct sigcontext, di) # */ #define IA32_SIGCONTEXT_bp 24 /* offsetof(struct sigcontext, bp) # */ #define IA32_SIGCONTEXT_sp 28 /* offsetof(struct sigcontext, sp) # */ #define IA32_SIGCONTEXT_ip 56 /* offsetof(struct sigcontext, ip) # */ #define CPUINFO_x86 /* offsetof(struct cpuinfo_x86, x86) # */ #define CPUINFO_x86_vendor 1 /* offsetof(struct cpuinfo_x86, x86_vendor) # */ #define CPUINFO_x86_model 2 /* offsetof(struct cpuinfo_x86, x86_model) # */ #define CPUINFO_x86_mask 3 /* offsetof(struct cpuinfo_x86, x86_mask) # */ #define CPUINFO_hard_math 6 /* offsetof(struct cpuinfo_x86, hard_math) # */ #define CPUINFO_cpuid_level 12 /* offsetof(struct cpuinfo_x86, cpuid_level) # */ #define CPUINFO_x86_capability 16 /* offsetof(struct cpuinfo_x86, x86_capability) # */ #define CPUINFO_x86_vendor_id 48 /* offsetof(struct cpuinfo_x86, x86_vendor_id) # */ #define TI_task /* offsetof(struct thread_info, task) # */ #define TI_exec_domain 4 /* offsetof(struct thread_info, exec_domain) # */ #define TI_flags 8 /* offsetof(struct thread_info, flags) # */ #define TI_status 12 /* offsetof(struct thread_info, status) # */ #define TI_preempt_count 20 /* offsetof(struct thread_info, preempt_count) # */ #define TI_addr_limit 24 /* offsetof(struct thread_info, addr_limit) # */ #define TI_restart_block 32 /* offsetof(struct thread_info, restart_block) # */ #define TI_sysenter_return 28 /* offsetof(struct thread_info, sysenter_return) # */ #define TI_cpu 16 /* offsetof(struct thread_info, cpu) # */ #define GDS_size /* offsetof(struct desc_ptr, size) # */ #define GDS_address 2 /* offsetof(struct desc_ptr, address) # */ #define PT_EBX /* offsetof(struct pt_regs, bx) # */ #define PT_ECX 4 /* offsetof(struct pt_regs, cx) # */ #define PT_EDX 8 /* offsetof(struct pt_regs, dx) # */ #define PT_ESI 12 /* offsetof(struct pt_regs, si) # */ #define PT_EDI 16 /* offsetof(struct pt_regs, di) # */ #define PT_EBP 20 /* offsetof(struct pt_regs, bp) # */ #define PT_EAX 24 /* offsetof(struct pt_regs, ax) # */ #define PT_DS 28 /* offsetof(struct pt_regs, ds) # */ #define PT_ES 32 /* offsetof(struct pt_regs, es) # */ #define PT_FS 36 /* offsetof(struct pt_regs, fs) # */ #define PT_ORIG_EAX 40 /* offsetof(struct pt_regs, orig_ax) # */ #define PT_EIP 44 /* offsetof(struct pt_regs, ip) # */ #define PT_CS 48 /* offsetof(struct pt_regs, cs) # */ #define PT_EFLAGS 52 /* offsetof(struct pt_regs, flags) # */ #define PT_OLDESP 56 /* offsetof(struct pt_regs, sp) # */ #define PT_OLDSS 60 /* offsetof(struct pt_regs, ss) # */ #define EXEC_DOMAIN_handler 4 /* offsetof(struct exec_domain, handler) # */ #define IA32_RT_SIGFRAME_sigcontext 164 /* offsetof(struct rt_sigframe, uc.uc_mcontext) # */ #define pbe_address /* offsetof(struct pbe, address) # */ #define pbe_orig_address 4 /* offsetof(struct pbe, orig_address) # */ #define pbe_next 8 /* offsetof(struct pbe, next) # */ #define TSS_sysenter_sp0 -8700 /* offsetof(struct tss_struct, x86_tss.sp0) - sizeof(struct tss_struct) # */ #define PAGE_SIZE_asm 4096 /* PAGE_SIZE # */ #define PAGE_SHIFT_asm 12 /* PAGE_SHIFT # */ #define PTRS_PER_PTE 1024 /* PTRS_PER_PTE # */ #define PTRS_PER_PMD 1 /* PTRS_PER_PMD # */ #define PTRS_PER_PGD 1024 /* PTRS_PER_PGD # */ #define crypto_tfm_ctx_offset 48 /* offsetof(struct crypto_tfm, __crt_ctx) # */ #define BP_scratch 484 /* offsetof(struct boot_params, scratch) # */ #define BP_loadflags 529 /* offsetof(struct boot_params, hdr.loadflags) # */ #define BP_hardware_subarch 572 /* offsetof(struct boot_params, hdr.hardware_subarch) # */ #define BP_version 518 /* offsetof(struct boot_params, hdr.version) # */ > with your asm-offsets.s file and this sed, does the result contain > > IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # > > or > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) > # */ The latter. Which one is correct? Is asm-offsets.h the output of the above command? Please confirm. Since on command line it seems to work fine, but in make time it bombs, I suspect make somehow manages to find the busybox sed, which verifiably produces output IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # IA32_SIGCONTEXT_bx $32 offsetof(struct sigcontext, bx) # IA32_SIGCONTEXT_cx $40 offsetof(struct sigcontext, cx) # IA32_SIGCONTEXT_dx $36 offsetof(struct sigcontext, dx) # IA32_SIGCONTEXT_si $20 offsetof(struct sigcontext, si) # IA32_SIGCONTEXT_di $16 offsetof(struct sigcontext, di) # IA32_SIGCONTEXT_bp $24 offsetof(struct sigcontext, bp) # IA32_SIGCONTEXT_sp $28 offsetof(struct sigcontext, sp) # IA32_SIGCONTEXT_ip $56 offsetof(struct sigcontext, ip) # CPUINFO_x86 $0 offsetof(struct cpuinfo_x86, x86) # CPUINFO_x86_vendor $1 offsetof(struct cpuinfo_x86, x86_vendor) # CPUINFO_x86_model $2 offsetof(struct cpuinfo_x86, x86_model) # CPUINFO_x86_mask $3 offsetof(struct cpuinfo_x86, x86_mask) # CPUINFO_hard_math $6 offsetof(struct cpuinfo_x86, hard_math) # CPUINFO_cpuid_level $12 offsetof(struct cpuinfo_x86, cpuid_level) # CPUINFO_x86_capability $16 offsetof(struct cpuinfo_x86, x86_capability) # CPUINFO_x86_vendor_id $48 offsetof(struct cpuinfo_x86, x86_vendor_id) # TI_task $0 offsetof(struct thread_info, task) # TI_exec_domain $4 offsetof(struct thread_info, exec_domain) # TI_flags $8 offsetof(struct thread_info, flags) # TI_status $12 offsetof(struct thread_info, status) # TI_preempt_count $20 offsetof(struct thread_info, preempt_count) # TI_addr_limit $24 offsetof(struct thread_info, addr_limit) # TI_restart_block $32 offsetof(struct thread_info, restart_block) # TI_sysenter_return $28 offsetof(struct thread_info, sysenter_return) # TI_cpu $16 offsetof(struct thread_info, cpu) # GDS_size $0 offsetof(struct desc_ptr, size) # GDS_address $2 offsetof(struct desc_ptr, address) # PT_EBX $0 offsetof(struct pt_regs, bx) # PT_ECX $4 offsetof(struct pt_regs, cx) # PT_EDX $8 offsetof(struct pt_regs, dx) # PT_ESI $12 offsetof(struct pt_regs, si) # PT_EDI $16 offsetof(struct pt_regs, di) # PT_EBP $20 offsetof(struct pt_regs, bp) # PT_EAX $24 offsetof(struct pt_regs, ax) # PT_DS $28 offsetof(struct pt_regs, ds) # PT_ES $32 offsetof(struct pt_regs, es) # PT_FS $36 offsetof(struct pt_regs, fs) # PT_ORIG_EAX $40 offsetof(struct pt_regs, orig_ax) # PT_EIP $44 offsetof(struct pt_regs, ip) # PT_CS $48 offsetof(struct pt_regs, cs) # PT_EFLAGS $52 offsetof(struct pt_regs, flags) # PT_OLDESP $56 offsetof(struct pt_regs, sp) # PT_OLDSS $60 offsetof(struct pt_regs, ss) # EXEC_DOMAIN_handler $4 offsetof(struct exec_domain, handler) # IA32_RT_SIGFRAME_sigcontext $164 offsetof(struct rt_sigframe, uc.uc_mcontext) # pbe_address $0 offsetof(struct pbe, address) # pbe_orig_address $4 offsetof(struct pbe, orig_address) # pbe_next $8 offsetof(struct pbe, next) # TSS_sysenter_sp0 $-8700 offsetof(struct tss_struct, x86_tss.sp0) - sizeof(struct tss_struct) # PAGE_SIZE_asm $4096 PAGE_SIZE # PAGE_SHIFT_asm $12 PAGE_SHIFT # PTRS_PER_PTE $1024 PTRS_PER_PTE # PTRS_PER_PMD $1 PTRS_PER_PMD # PTRS_PER_PGD $1024 PTRS_PER_PGD # crypto_tfm_ctx_offset $48 offsetof(struct crypto_tfm, __crt_ctx) # BP_scratch $484 offsetof(struct boot_params, scratch) # BP_loadflags $529 offsetof(struct boot_params, hdr.loadflags) # BP_hardware_subarch $572 offsetof(struct boot_params, hdr.hardware_subarch) # BP_version $518 offsetof(struct boot_params, hdr.version) # Thus this is probably a PATH issue of some sort. I will investigate, but will not delay this response. Of course as a mild feature request, please fix the sed parts to be more tolerant of lesser seds. Cheers, --Sampo >> To facilitate more rapid communication, >>... > > You already answer faster than the speed of light. :-) > >> Cheers, >> --Sampo > > Thanks > Adrian ^ permalink raw reply [flat|nested] 21+ messages in thread
* `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) 2008-05-01 17:10 ` sampo @ 2008-05-01 18:53 ` Oleg Verych 2008-05-01 21:42 ` Sam Ravnborg 2008-05-01 19:17 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Adrian Bunk 1 sibling, 1 reply; 21+ messages in thread From: Oleg Verych @ 2008-05-01 18:53 UTC (permalink / raw) To: sampo; +Cc: Adrian Bunk, linux-kbuild sampo@symlabs.com @ Thu, May 01, 2008 at 07:10:42PM +0200: > > If you run > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > \3 */:; s:->::; p;}" < asm-offsets.s > > Here is side-problem with this script, which manifests itself as so: > #define CPUINFO_x86 /* offsetof(struct cpuinfo_x86, x86) # */ > #define CPUINFO_x86_vendor 1 /* offsetof(struct cpuinfo_x86, x86_vendor) > > #define TI_task /* offsetof(struct thread_info, task) # */ > #define GDS_size /* offsetof(struct desc_ptr, size) # */ > #define GDS_address 2 /* offsetof(struct desc_ptr, address) # */ > > #define PT_EBX /* offsetof(struct pt_regs, bx) # */ > #define PT_ECX 4 /* offsetof(struct pt_regs, cx) # */ there's no zero in CPUINFO_x86, TI_task, GDS_size, etc. Script "[\$$#]" -> $# is a number of parameters in `sh` But this no problem so far. > > with your asm-offsets.s file and this sed, does the result contain > > > > IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # > > > > or > > > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) > > # */ > > The latter. Which one is correct? Is asm-offsets.h the output of > the above command? Please confirm. latter, of course. It looks more like header file. > Since on command line it seems to work fine, > but in make time it bombs, I suspect make somehow manages to find > the busybox sed, which verifiably produces output > > IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # In top Kbuild file change --this-- define cmd_offsets (set -e; \ --to-- define cmd_offsets (set -xe; \ -- And check (in stderr) what script is fed to `sed`. > Thus this is probably a PATH issue of some sort. I will investigate, > but will not delay this response. Seems like it's not. > Of course as a mild feature request, please fix the sed parts to > be more tolerant of lesser seds. It seems more like `make` problem, if in command line it is kind of OK. I.e. garbage-like syntax and coding. If you want, you can find "asm-values" patches from a year or so ago. There was more readable example of the job. ____ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) 2008-05-01 18:53 ` `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) Oleg Verych @ 2008-05-01 21:42 ` Sam Ravnborg 2008-05-01 21:52 ` Oleg Verych 2008-05-01 22:54 ` Oleg Verych 0 siblings, 2 replies; 21+ messages in thread From: Sam Ravnborg @ 2008-05-01 21:42 UTC (permalink / raw) To: Oleg Verych; +Cc: sampo, Adrian Bunk, linux-kbuild On Thu, May 01, 2008 at 08:53:53PM +0200, Oleg Verych wrote: > sampo@symlabs.com @ Thu, May 01, 2008 at 07:10:42PM +0200: > > > > If you run > > > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > > \3 */:; s:->::; p;}" < asm-offsets.s > > > > > Here is side-problem with this script, which manifests itself as so: ... Can you come up with a _minimal_ fix that makes it compatible with busy-box AND GNU sed? It would be nice if we can build a 'normal' kernel with just busy-box utils one day. Sam ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) 2008-05-01 21:42 ` Sam Ravnborg @ 2008-05-01 21:52 ` Oleg Verych 2008-05-01 22:54 ` Oleg Verych 1 sibling, 0 replies; 21+ messages in thread From: Oleg Verych @ 2008-05-01 21:52 UTC (permalink / raw) To: Sam Ravnborg; +Cc: sampo, Adrian Bunk, linux-kbuild Sam Ravnborg @ Thu, May 1, 2008 at 10:42 PM: > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > > > \3 */:; s:->::; p;}" < asm-offsets.s > > > > > > > > Here is side-problem with this script, which manifests itself as so: > ... > Can you come up with a _minimal_ fix that makes it compatible with > busy-box AND GNU sed? Script works in GNU and busybox sed, except that "$#" thing. Let's wait for `set -x` feedback. _____ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) 2008-05-01 21:42 ` Sam Ravnborg 2008-05-01 21:52 ` Oleg Verych @ 2008-05-01 22:54 ` Oleg Verych 1 sibling, 0 replies; 21+ messages in thread From: Oleg Verych @ 2008-05-01 22:54 UTC (permalink / raw) To: Sam Ravnborg (kbuild list) > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > \3 */:; s:->::; p;}" < asm-offsets.s [] > > Can you come up with a _minimal_ fix that makes it compatible with > > busy-box AND GNU sed? > > Script works in GNU and busybox sed, except that "$#" thing. > Let's wait for `set -x` feedback. Unreadable for humans `sed` can be as short as this: [busybox] sed '/#def/s-.[$#]- -gp;d' or without "-fverbose-asm" (i.e. #comments after instruction) even like this olecom@flower:/tmp/blinux$ busybox sed '/#def/s [$] p;d' arch/x86/kernel/asm-offsets.s + busybox sed '/#def/s [$] p;d' arch/x86/kernel/asm-offsets.s #define tsk_state 0 /*offsetof(struct task_struct, state)*/ #define tsk_flags 20 /*offsetof(struct task_struct, flags)*/ #define tsk_pid 328 /*offsetof(struct task_struct, pid)*/ olecom@flower:/tmp/blinux$ The only thing to change is (unreadable) #define in asm-offsets.c: #define DEFINE(sym, val) \ asm volatile("\n#define " #sym " %0 /*" #val "*/": : "i" (val)) (BLANK also, but it's a phony load) _____ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 17:10 ` sampo 2008-05-01 18:53 ` `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) Oleg Verych @ 2008-05-01 19:17 ` Adrian Bunk 2008-05-01 21:39 ` Sam Ravnborg 1 sibling, 1 reply; 21+ messages in thread From: Adrian Bunk @ 2008-05-01 19:17 UTC (permalink / raw) To: sampo, sam; +Cc: linux-kbuild On Thu, May 01, 2008 at 07:10:42PM +0200, sampo@symlabs.com wrote: > Adrian Bunk wrote: >... > >> > - the output of "sed --version" > >> > >> sed --version > >> GNU sed version 4.1.5-boot > >>... > > > > Where does this "4.1.5-boot" version come from? > > Is this some stripped down version of sed? > > Interesting question. I do use busybox as my userland for most purposes, > but in case of sed I believe it really is the gnu sed. > > which sed > /usr/bin/sed > /usr/bin/sed --version > GNU sed version 4.1.5-boot >... > sampo@jin:/aino/linux 0$ /bin/sed --version > This is not GNU sed version 4.0 > > The former, which is gnu sed, should be picked up by PATH. The latter > which appears to be picked by make, is the busybox sed. The gnu sed was > compiled by me for my own distro, hence -boot label, but has not been > stripped down in any way. Thanks, that explains your problems. > > If you run > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > \3 */:; s:->::; p;}" < asm-offsets.s > > >... > > with your asm-offsets.s file and this sed, does the result contain > > > > IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # > > > > or > > > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) > > # */ > > The latter. Which one is correct? Is asm-offsets.h the output of > the above command? Please confirm. The sed script transform the former to the latter. You had the untransformed former which isn't valid code and therefore failed to compile. > Since on command line it seems to work fine, > but in make time it bombs, I suspect make somehow manages to find > the busybox sed, which verifiably produces output >... > Thus this is probably a PATH issue of some sort. I will investigate, > but will not delay this response. > > Of course as a mild feature request, please fix the sed parts to > be more tolerant of lesser seds. Either more tolerant (which might be non-trivial since there are more sed usages in the kernel). Or at least fail with a clear error message. @Sam: In case you didn't follow this discussion: Sampo ran into the problem that the toplevel Kbuild file called a non-GNU sed resulting in a broken asm-offsets.h. > Cheers, > --Sampo cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 19:17 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Adrian Bunk @ 2008-05-01 21:39 ` Sam Ravnborg 2008-05-01 22:07 ` Adrian Bunk 0 siblings, 1 reply; 21+ messages in thread From: Sam Ravnborg @ 2008-05-01 21:39 UTC (permalink / raw) To: Adrian Bunk; +Cc: sampo, linux-kbuild On Thu, May 01, 2008 at 10:17:14PM +0300, Adrian Bunk wrote: > On Thu, May 01, 2008 at 07:10:42PM +0200, sampo@symlabs.com wrote: > > Adrian Bunk wrote: > >... > > >> > - the output of "sed --version" > > >> > > >> sed --version > > >> GNU sed version 4.1.5-boot > > >>... > > > > > > Where does this "4.1.5-boot" version come from? > > > Is this some stripped down version of sed? > > > > Interesting question. I do use busybox as my userland for most purposes, > > but in case of sed I believe it really is the gnu sed. > > > > which sed > > /usr/bin/sed > > /usr/bin/sed --version > > GNU sed version 4.1.5-boot > >... > > sampo@jin:/aino/linux 0$ /bin/sed --version > > This is not GNU sed version 4.0 > > > > The former, which is gnu sed, should be picked up by PATH. The latter > > which appears to be picked by make, is the busybox sed. The gnu sed was > > compiled by me for my own distro, hence -boot label, but has not been > > stripped down in any way. > > Thanks, that explains your problems. > > > > If you run > > > > > > sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* > > > \3 */:; s:->::; p;}" < asm-offsets.s > > > > >... > > > with your asm-offsets.s file and this sed, does the result contain > > > > > > IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) # > > > > > > or > > > > > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) > > > # */ > > > > The latter. Which one is correct? Is asm-offsets.h the output of > > the above command? Please confirm. > > The sed script transform the former to the latter. > You had the untransformed former which isn't valid code and therefore > failed to compile. > > > Since on command line it seems to work fine, > > but in make time it bombs, I suspect make somehow manages to find > > the busybox sed, which verifiably produces output > >... > > Thus this is probably a PATH issue of some sort. I will investigate, > > but will not delay this response. > > > > Of course as a mild feature request, please fix the sed parts to > > be more tolerant of lesser seds. > > Either more tolerant (which might be non-trivial since there are more > sed usages in the kernel). > > Or at least fail with a clear error message. > > @Sam: > In case you didn't follow this discussion: > Sampo ran into the problem that the toplevel Kbuild file called a > non-GNU sed resulting in a broken asm-offsets.h. Do we know why it picked up the busy box version? Because from the commandline it was the correct sed - and I do not know that make should do different. Sam ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 21:39 ` Sam Ravnborg @ 2008-05-01 22:07 ` Adrian Bunk 2008-05-02 0:53 ` sampo 0 siblings, 1 reply; 21+ messages in thread From: Adrian Bunk @ 2008-05-01 22:07 UTC (permalink / raw) To: Sam Ravnborg; +Cc: sampo, linux-kbuild On Thu, May 01, 2008 at 11:39:52PM +0200, Sam Ravnborg wrote: > > Do we know why it picked up the busy box version? > Because from the commandline it was the correct sed - and I do not > know that make should do different. Good point. No, and we might actually have two issues: - what happened with the PATH (Sampo, is it really PATH or do you use an alias?) - we must somehow handle non-GNU sed's (either change the code or error) > Sam cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-01 22:07 ` Adrian Bunk @ 2008-05-02 0:53 ` sampo 2008-05-02 1:48 ` Oleg Verych 2008-05-02 6:06 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Sam Ravnborg 0 siblings, 2 replies; 21+ messages in thread From: sampo @ 2008-05-02 0:53 UTC (permalink / raw) To: Adrian Bunk; +Cc: Sam Ravnborg, sampo, linux-kbuild Adrian Bunk wrote: > On Thu, May 01, 2008 at 11:39:52PM +0200, Sam Ravnborg wrote: >> >> Do we know why it picked up the busy box version? I think it has to do with my /bin/sh being the busybox ash. It seems the ash prefers its built-in version over the one in path. This is probably due to me having compiled busybox with some option. Sorry for the confusion. If I edit linux/Kbuild to reference explicitly /usr/bin/sed (which is the gnu sed), the compile proceeds ok up to a point where following happens (snip) make -f scripts/Makefile.build obj=arch/x86/vdso gcc -Wp,-MD,arch/x86/vdso/vdso32/.int80.o.d -nostdinc -isystem /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-x86/mach-default -c -o arch/x86/vdso/vdso32/int80.o arch/x86/vdso/vdso32/int80.S arch/x86/vdso/vdso32/int80.S: Assembler messages: arch/x86/vdso/vdso32/int80.S:68: Fatal error: cannot write to output file make[1]: *** [arch/x86/vdso/vdso32/int80.o] Error 1 make: *** [arch/x86/vdso] Error 2 Here the problem appears to be that -c is supplied but there is no source file to compile. The error message certainly is not helpful. I'll investigate further. >> Because from the commandline it was the correct sed - and I do not >> know that make should do different. Busybox ash compiled with certain options is the culprit for this one. > Good point. > > No, and we might actually have two issues: > - what happened with the PATH (Sampo, is it really PATH or do you use an > alias?) > - we must somehow handle non-GNU sed's (either change the code or error) I would wish at least busybox sed be accommodated. Looking at the sed expression, it seems unnecessarily complicated. I'll try to formulate a simpler expression that accomplishes the same net result, namely transforming ->IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) to #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) # */ It can't be as difficult as "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}" Cheers, --Sampo >> Sam > > cu > Adrian ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-02 0:53 ` sampo @ 2008-05-02 1:48 ` Oleg Verych 2008-05-02 6:08 ` Sam Ravnborg 2008-05-02 6:06 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Sam Ravnborg 1 sibling, 1 reply; 21+ messages in thread From: Oleg Verych @ 2008-05-02 1:48 UTC (permalink / raw) To: Sam Ravnborg (kbuild list) Sam, please, tell to those guys, that shell must be `bash`, as Roman wanted. Also, please, ask if they don't see my messages about simple `sed` and all other stuff, or if just ignore me or like to express own ignorance. Thanks. On Fri, May 2, 2008 at 1:53 AM, <sampo@symlabs.com> wrote: > Adrian Bunk wrote: > > On Thu, May 01, 2008 at 11:39:52PM +0200, Sam Ravnborg wrote: > >> > >> Do we know why it picked up the busy box version? > > I think it has to do with my /bin/sh being the busybox ash. It seems > the ash prefers its built-in version over the one in path. This is > probably due to me having compiled busybox with some option. Sorry > for the confusion. > > If I edit linux/Kbuild to reference explicitly /usr/bin/sed (which > is the gnu sed), the compile proceeds ok up to a point where > following happens > > (snip) > make -f scripts/Makefile.build obj=arch/x86/vdso > gcc -Wp,-MD,arch/x86/vdso/vdso32/.int80.o.d -nostdinc -isystem > /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ > -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 > -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > -Iinclude/asm-x86/mach-default -c -o arch/x86/vdso/vdso32/int80.o > arch/x86/vdso/vdso32/int80.S > arch/x86/vdso/vdso32/int80.S: Assembler messages: > arch/x86/vdso/vdso32/int80.S:68: Fatal error: cannot write to output file > make[1]: *** [arch/x86/vdso/vdso32/int80.o] Error 1 > make: *** [arch/x86/vdso] Error 2 > > Here the problem appears to be that -c is supplied but there is no > source file to compile. The error message certainly is not > helpful. I'll investigate further. > > >> Because from the commandline it was the correct sed - and I do not > >> know that make should do different. > > Busybox ash compiled with certain options is the culprit for > this one. > > > Good point. > > > > No, and we might actually have two issues: > > - what happened with the PATH (Sampo, is it really PATH or do you use an > > alias?) > > - we must somehow handle non-GNU sed's (either change the code or error) > > I would wish at least busybox sed be accommodated. Looking at the > sed expression, it seems unnecessarily complicated. I'll try to formulate > a simpler expression that accomplishes the same net result, namely > transforming > > ->IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) > > to > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) # */ > > It can't be as difficult as > > "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; > s:->::; p;}" > > Cheers, > --Sampo > > >> Sam > > > > cu > > Adrian -- sed 'sed && sh + olecom = love' << '' -o--=O`C #oo'L O <___=E M ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-02 1:48 ` Oleg Verych @ 2008-05-02 6:08 ` Sam Ravnborg 2008-05-02 10:56 ` Oleg Verych 0 siblings, 1 reply; 21+ messages in thread From: Sam Ravnborg @ 2008-05-02 6:08 UTC (permalink / raw) To: Oleg Verych; +Cc: Sam Ravnborg (kbuild list) On Fri, May 02, 2008 at 02:48:58AM +0100, Oleg Verych wrote: > Sam, please, tell to those guys, that shell must be `bash`, as Roman wanted. No - we want to be portable across as many setups as possible. So forcing us to use bash is in the long run not a good solutions. We should go for the least common denominator - busy-box could be the one. Sam ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-02 6:08 ` Sam Ravnborg @ 2008-05-02 10:56 ` Oleg Verych 2008-05-02 10:42 ` Sam Ravnborg 0 siblings, 1 reply; 21+ messages in thread From: Oleg Verych @ 2008-05-02 10:56 UTC (permalink / raw) To: Sam Ravnborg (kbuild list) Sam Ravnborg @ Fri, May 02, 2008 at 08:08:13AM +0200: > On Fri, May 02, 2008 at 02:48:58AM +0100, Oleg Verych wrote: > > Sam, please, tell to those guys, that shell must be `bash`, as Roman wanted. > > No - we want to be portable across as many setups as possible. > So forcing us to use bash is in the long run not a good solutions. > > We should go for the least common denominator - busy-box could be the one. ,-- Message-ID: <Pine.LNX.4.64.0702082335150.14457@scrub.home> -- |It would make casual kbuild hacking only even more difficult, as one has |to check it works with the various shells. `-- So, time goes on, and random busybox user can solve all kbuild problems with scripting. Alright. For the record, i still doing my own way: klibc + `[d]ash` + `minised` (|| GNU `sed` if something will be too stupid). ____ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-02 10:56 ` Oleg Verych @ 2008-05-02 10:42 ` Sam Ravnborg 2008-05-02 11:25 ` source processing-friendly scripting Oleg Verych 0 siblings, 1 reply; 21+ messages in thread From: Sam Ravnborg @ 2008-05-02 10:42 UTC (permalink / raw) To: Oleg Verych; +Cc: Sam Ravnborg (kbuild list) On Fri, May 02, 2008 at 12:56:20PM +0200, Oleg Verych wrote: > Sam Ravnborg @ Fri, May 02, 2008 at 08:08:13AM +0200: > > On Fri, May 02, 2008 at 02:48:58AM +0100, Oleg Verych wrote: > > > Sam, please, tell to those guys, that shell must be `bash`, as Roman wanted. > > > > No - we want to be portable across as many setups as possible. > > So forcing us to use bash is in the long run not a good solutions. > > > > We should go for the least common denominator - busy-box could be the one. > > ,-- Message-ID: <Pine.LNX.4.64.0702082335150.14457@scrub.home> -- > |It would make casual kbuild hacking only even more difficult, as one has > |to check it works with the various shells. > `-- This is still true. But we start to see a few more people reporting issues with non-standard Linux systems (busy-box, cygwin, sun) so there is a need and there is a tester base. And any strightforward looking patches will be applied - when eventual feedback has been incorporated. I will not promise to check for non-linux compliance but testers are welcome. Sam ^ permalink raw reply [flat|nested] 21+ messages in thread
* source processing-friendly scripting 2008-05-02 10:42 ` Sam Ravnborg @ 2008-05-02 11:25 ` Oleg Verych 0 siblings, 0 replies; 21+ messages in thread From: Oleg Verych @ 2008-05-02 11:25 UTC (permalink / raw) To: Sam Ravnborg (kbuild list) Sam Ravnborg @ Fri, May 02, 2008 at 12:42:11PM +0200: [] > > ,-- Message-ID: <Pine.LNX.4.64.0702082335150.14457@scrub.home> -- > > |It would make casual kbuild hacking only even more difficult, as one has > > |to check it works with the various shells. > > `-- > This is still true. But we start to see a few more people reporting issues > with non-standard Linux systems (busy-box, cygwin, sun) so there is a > need and there is a tester base. Even if i will have my extended `sh` (as you may saw in dash list), it's quite easy to make portability modules for any tools used. But this is the case only if source/script is not a concrete -- i.e. is written is the way friendly for text-processing tools, thus clear plain-text transformations of source can be possible. This is not the case of `make` and requires experience as in scripting as in design. > And any strightforward looking patches will be applied - when eventual > feedback has been incorporated. I've shown readable `sed` for cases other than MIPS. MIPS requires more cleanup of all that manual "#define" stuff. ,-- arch/mips/kernel/asm-offsets.c -- | text("/* MIPS pt_regs offsets. */"); | offset("#define PT_R0 ", struct pt_regs, regs[0]); `-- Anyone, who wants to have some understanding of basic things: * processing of plain text * gcc/assembler generation * kbuild may take it and have ``fun''. > I will not promise to check for non-linux compliance but testers are welcome. > > Sam ____ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas 2008-05-02 0:53 ` sampo 2008-05-02 1:48 ` Oleg Verych @ 2008-05-02 6:06 ` Sam Ravnborg 1 sibling, 0 replies; 21+ messages in thread From: Sam Ravnborg @ 2008-05-02 6:06 UTC (permalink / raw) To: sampo; +Cc: Adrian Bunk, linux-kbuild On Fri, May 02, 2008 at 02:53:42AM +0200, sampo@symlabs.com wrote: > Adrian Bunk wrote: > > On Thu, May 01, 2008 at 11:39:52PM +0200, Sam Ravnborg wrote: > >> > >> Do we know why it picked up the busy box version? > > I think it has to do with my /bin/sh being the busybox ash. It seems > the ash prefers its built-in version over the one in path. This is > probably due to me having compiled busybox with some option. Sorry > for the confusion. This makes sense - thanks for the explanation! > If I edit linux/Kbuild to reference explicitly /usr/bin/sed (which > is the gnu sed), the compile proceeds ok up to a point where > following happens > > (snip) > make -f scripts/Makefile.build obj=arch/x86/vdso > gcc -Wp,-MD,arch/x86/vdso/vdso32/.int80.o.d -nostdinc -isystem > /apps/gcc/3.4.6/lib/gcc/i686-pc-linux-gnu/3.4.6/include -D__KERNEL__ > -Iinclude -include include/linux/autoconf.h -D__ASSEMBLY__ -m32 > -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 > -Iinclude/asm-x86/mach-default -c -o arch/x86/vdso/vdso32/int80.o > arch/x86/vdso/vdso32/int80.S > arch/x86/vdso/vdso32/int80.S: Assembler messages: > arch/x86/vdso/vdso32/int80.S:68: Fatal error: cannot write to output file > make[1]: *** [arch/x86/vdso/vdso32/int80.o] Error 1 > make: *** [arch/x86/vdso] Error 2 I will assume this is sed that is playing tricks with us again. If you replace sed with /usr/bin/sed in the arch/x86/vdso/Makefile does the build then proceed? If this does not fix it then try to post what happens a few lines before the gcc invocation - this is likely where we start to see the problem. > I would wish at least busybox sed be accommodated. Looking at the > sed expression, it seems unnecessarily complicated. I'll try to formulate > a simpler expression that accomplishes the same net result, namely > transforming > > ->IA32_SIGCONTEXT_ax $44 offsetof(struct sigcontext, ax) > > to > > #define IA32_SIGCONTEXT_ax 44 /* offsetof(struct sigcontext, ax) # */ > > It can't be as difficult as > > "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; > s:->::; p;}" There a special mips case to consider too. A patch is appreciated! Sam ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2008-05-02 11:05 UTC | newest] Thread overview: 21+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-05-01 5:07 gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas sampo 2008-05-01 12:06 ` Adrian Bunk 2008-05-01 15:05 ` sampo 2008-05-01 16:34 ` Adrian Bunk 2008-05-01 16:38 ` sampo 2008-05-01 16:53 ` Adrian Bunk 2008-05-01 17:10 ` sampo 2008-05-01 18:53 ` `sed`ing asm-offsets (Re: gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas) Oleg Verych 2008-05-01 21:42 ` Sam Ravnborg 2008-05-01 21:52 ` Oleg Verych 2008-05-01 22:54 ` Oleg Verych 2008-05-01 19:17 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Adrian Bunk 2008-05-01 21:39 ` Sam Ravnborg 2008-05-01 22:07 ` Adrian Bunk 2008-05-02 0:53 ` sampo 2008-05-02 1:48 ` Oleg Verych 2008-05-02 6:08 ` Sam Ravnborg 2008-05-02 10:56 ` Oleg Verych 2008-05-02 10:42 ` Sam Ravnborg 2008-05-02 11:25 ` source processing-friendly scripting Oleg Verych 2008-05-02 6:06 ` gcc 3.4.6 fails to build 2.6.25 due to offsetof() not digestible by gas Sam Ravnborg
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox