* 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
@ 2003-02-10 20:37 Kay Sievers
2003-02-10 20:49 ` Kai Germaschewski
0 siblings, 1 reply; 6+ messages in thread
From: Kay Sievers @ 2003-02-10 20:37 UTC (permalink / raw)
To: linux-kernel
the compilation of a fresh 2.5.60-kernel failed with:
gcc -Wp,-MD,arch/i386/kernel/.time.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=time -DKBUILD_MODNAME=time -c -o
arch/i386/kernel/.tmp_time.o arch/i386/kernel/time.c
ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
make[1]: *** [arch/i386/kernel/time.o] Error 1
make: *** [arch/i386/kernel] Error 2
It's the "make defconfig .config" with CONFIG_MODVERSIONS switched on.
Kay
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
2003-02-10 20:37 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error Kay Sievers
@ 2003-02-10 20:49 ` Kai Germaschewski
2003-02-10 20:57 ` Kay Sievers
0 siblings, 1 reply; 6+ messages in thread
From: Kai Germaschewski @ 2003-02-10 20:49 UTC (permalink / raw)
To: Kay Sievers; +Cc: linux-kernel
On Mon, 10 Feb 2003, Kay Sievers wrote:
> the compilation of a fresh 2.5.60-kernel failed with:
>
> gcc -Wp,-MD,arch/i386/kernel/.time.o.d -D__KERNEL__ -Iinclude -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
> -fno-common -pipe -mpreferred-stack-boundary=2 -march=pentium4
> -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
> -DKBUILD_BASENAME=time -DKBUILD_MODNAME=time -c -o
> arch/i386/kernel/.tmp_time.o arch/i386/kernel/time.c
> ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
> make[1]: *** [arch/i386/kernel/time.o] Error 1
> make: *** [arch/i386/kernel] Error 2
>
> It's the "make defconfig .config" with CONFIG_MODVERSIONS switched on.
Interesting. Thanks for testing CONFIG_MODVERSIONS. I cannot reproduce it
here, unfortunately (not even with the same .config). What does
arch/i386/kernel/.tmp_time.ver look like?
--Kai
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
2003-02-10 20:49 ` Kai Germaschewski
@ 2003-02-10 20:57 ` Kay Sievers
2003-02-10 21:26 ` Kai Germaschewski
0 siblings, 1 reply; 6+ messages in thread
From: Kay Sievers @ 2003-02-10 20:57 UTC (permalink / raw)
To: linux-kernel
On Mon, Feb 10, 2003 at 02:49:36PM -0600, Kai Germaschewski wrote:
> On Mon, 10 Feb 2003, Kay Sievers wrote:
> > ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
>
> Interesting. Thanks for testing CONFIG_MODVERSIONS. I cannot reproduce it
> here, unfortunately (not even with the same .config). What does
> arch/i386/kernel/.tmp_time.ver look like?
pim:/usr/src/linux-2.5.60# cat arch/i386/kernel/.tmp_time.ver
__crc_i = 0x_lock ; ac2d2492
pim:/usr/src/linux-2.5.60#
pim:/usr/src/linux-2.5.60# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--disable-__cxa_atexit --enable-java-gc=boehm --enable-objc-gc
i386-linux
Thread model: posix
gcc version 3.2.2
pim:/usr/src/linux-2.5.60# ld -v
GNU ld version 2.13.90.0.18 20030121 Debian GNU/Linux
Kay
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
2003-02-10 20:57 ` Kay Sievers
@ 2003-02-10 21:26 ` Kai Germaschewski
2003-02-10 21:44 ` Kay Sievers
2003-02-12 0:26 ` David Ford
0 siblings, 2 replies; 6+ messages in thread
From: Kai Germaschewski @ 2003-02-10 21:26 UTC (permalink / raw)
To: Kay Sievers; +Cc: linux-kernel
On Mon, 10 Feb 2003, Kay Sievers wrote:
> On Mon, Feb 10, 2003 at 02:49:36PM -0600, Kai Germaschewski wrote:
> > On Mon, 10 Feb 2003, Kay Sievers wrote:
> > > ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
> >
> > Interesting. Thanks for testing CONFIG_MODVERSIONS. I cannot reproduce it
> > here, unfortunately (not even with the same .config). What does
> > arch/i386/kernel/.tmp_time.ver look like?
>
> pim:/usr/src/linux-2.5.60# cat arch/i386/kernel/.tmp_time.ver
> __crc_i = 0x_lock ; ac2d2492
Okay, that's not a problem with ld, but (most likely) sed.
I hope the appended patch fixes it. For the record, what version of sed do
you have? (sed -V)
--Kai
===== scripts/Makefile.build 1.27 vs edited =====
--- 1.27/scripts/Makefile.build Sat Feb 8 14:30:33 2003
+++ edited/scripts/Makefile.build Mon Feb 10 15:25:44 2003
@@ -94,7 +94,7 @@
else \
$(CPP) -D__GENKSYMS__ $(c_flags) $< \
| $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) \
- | sed -n 's/\#define __ver_\(\w*\)\W*\(\w*\)/__crc_\1 = 0x\2 ;/gp' \
+ | sed -n 's/\#define __ver_\([^ ]*\)[ ]*\([^ ]*\)/__crc_\1 = 0x\2 ;/gp' \
> $(@D)/.tmp_$(@F:.o=.ver); \
\
$(LD) $(LDFLAGS) -r -o $@ $(@D)/.tmp_$(@F) \
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
2003-02-10 21:26 ` Kai Germaschewski
@ 2003-02-10 21:44 ` Kay Sievers
2003-02-12 0:26 ` David Ford
1 sibling, 0 replies; 6+ messages in thread
From: Kay Sievers @ 2003-02-10 21:44 UTC (permalink / raw)
To: linux-kernel
On Mon, Feb 10, 2003 at 03:26:30PM -0600, Kai Germaschewski wrote:
> On Mon, 10 Feb 2003, Kay Sievers wrote:
>
> > On Mon, Feb 10, 2003 at 02:49:36PM -0600, Kai Germaschewski wrote:
> > > On Mon, 10 Feb 2003, Kay Sievers wrote:
> > > > ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
> > >
> > > Interesting. Thanks for testing CONFIG_MODVERSIONS. I cannot reproduce it
> > > here, unfortunately (not even with the same .config). What does
> > > arch/i386/kernel/.tmp_time.ver look like?
> >
> > pim:/usr/src/linux-2.5.60# cat arch/i386/kernel/.tmp_time.ver
> > __crc_i = 0x_lock ; ac2d2492
>
> Okay, that's not a problem with ld, but (most likely) sed.
>
> I hope the appended patch fixes it.
Yes, now it compiles.
¶
> For the record, what version of sed do you have? (sed -V)¶
¶
kay@pim:~$ sed -V¶
GNU sed version 3.02¶
¶
¶
Kay¶
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error
2003-02-10 21:26 ` Kai Germaschewski
2003-02-10 21:44 ` Kay Sievers
@ 2003-02-12 0:26 ` David Ford
1 sibling, 0 replies; 6+ messages in thread
From: David Ford @ 2003-02-12 0:26 UTC (permalink / raw)
To: Kai Germaschewski; +Cc: Kay Sievers, linux-kernel
$ sed --version
GNU sed version 4.0.5
(patch works for me too)
-d
Kai Germaschewski wrote:
>On Mon, 10 Feb 2003, Kay Sievers wrote:
>
>
>
>>On Mon, Feb 10, 2003 at 02:49:36PM -0600, Kai Germaschewski wrote:
>>
>>
>>>On Mon, 10 Feb 2003, Kay Sievers wrote:
>>>
>>>
>>>> ld:arch/i386/kernel/.tmp_time.ver:1: syntax error
>>>>
>>>>
>>>Interesting. Thanks for testing CONFIG_MODVERSIONS. I cannot reproduce it
>>>here, unfortunately (not even with the same .config). What does
>>>arch/i386/kernel/.tmp_time.ver look like?
>>>
>>>
>>pim:/usr/src/linux-2.5.60# cat arch/i386/kernel/.tmp_time.ver
>>__crc_i = 0x_lock ; ac2d2492
>>
>>
>
>Okay, that's not a problem with ld, but (most likely) sed.
>
>I hope the appended patch fixes it. For the record, what version of sed do
>you have? (sed -V)
>
>--Kai
>
>
>===== scripts/Makefile.build 1.27 vs edited =====
>--- 1.27/scripts/Makefile.build Sat Feb 8 14:30:33 2003
>+++ edited/scripts/Makefile.build Mon Feb 10 15:25:44 2003
>@@ -94,7 +94,7 @@
> else \
> $(CPP) -D__GENKSYMS__ $(c_flags) $< \
> | $(GENKSYMS) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) \
>- | sed -n 's/\#define __ver_\(\w*\)\W*\(\w*\)/__crc_\1 = 0x\2 ;/gp' \
>+ | sed -n 's/\#define __ver_\([^ ]*\)[ ]*\([^ ]*\)/__crc_\1 = 0x\2 ;/gp' \
> > $(@D)/.tmp_$(@F:.o=.ver); \
> \
> $(LD) $(LDFLAGS) -r -o $@ $(@D)/.tmp_$(@F) \
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
>
>
--
I may have the information you need and I may choose only HTML. It's up to you. Disclaimer: I am not responsible for any email that you send me nor am I bound to any obligation to deal with any received email in any given fashion. If you send me spam or a virus, I may in whole or part send you 50,000 return copies of it. I may also publically announce any and all emails and post them to message boards, news sites, and even parody sites. I may also mark them up, cut and paste, print, and staple them to telephone poles for the enjoyment of people without internet access. This is not a confidential medium and your assumption that your email can or will be handled confidentially is akin to baring your backside, burying your head in the ground, and thinking nobody can see you butt nekkid and in plain view for miles away. Don't be a cluebert, buy one from K-mart today.
When it absolutely, positively, has to be destroyed overnight.
AIR FORCE
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-02-12 0:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 20:37 2.5.60 defconfig+CONFIG_MODVERSIONS=y -> syntax error Kay Sievers
2003-02-10 20:49 ` Kai Germaschewski
2003-02-10 20:57 ` Kay Sievers
2003-02-10 21:26 ` Kai Germaschewski
2003-02-10 21:44 ` Kay Sievers
2003-02-12 0:26 ` David Ford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox