First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61482
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
linux26-headers-bug61482.patch Patch patch Tim Yamin (RETIRED) 2004-09-28 09:00 0000 1.08 KB Details | Diff
sash.output.2.6.8.1 sash output using 2.6.8.1 text/plain Markus Rothe 2004-10-03 03:43 0000 11.65 KB Details
sash.output-2.6.8.1 sash output with 2.6.8.1 and "sed ..." text/plain Markus Rothe 2004-10-03 04:21 0000 2.54 KB Details
ItLpPaca.h /usr/include/asm/iSeries/ItLpPaca.h text/plain Markus Rothe 2004-10-03 06:09 0000 6.67 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61482 depends on: Show dependency tree
Bug 61482 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-24 02:34 0000
Hi,

app-shells/sash-3.6 will fail when using linux26-headers-2.6.7-r4:

>>> emerge (1 of 74) app-shells/sash-3.6 to /
>>> md5 src_uri ;-) sash-3.6.tar.gz
>>> Unpacking source...
>>> Unpacking sash-3.6.tar.gz to /var/tmp/portage/sash-3.6/work
 * Applying sash-3.6-fix-includes.patch...                                                                       [ ok ]
readline
 * Applying sash-3.6-readline.patch...                                                                           [ ok ]
ppc64
 * Applying sash-3.6-ppc64-includes.patch...                                                                     [ ok ]
>>> Source unpacked.
gcc -mtune=970 -O3 -pipe -fsigned-char -mabi=altivec -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 
-DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o sash.o sash.c
sash.c: In function `fileman_completion':
sash.c:536: warning: implicit declaration of function `completion_matches'
sash.c:536: warning: assignment makes pointer from integer without a cast
sash.c: In function `command_generator':
sash.c:561: warning: suggest parentheses around assignment used as truth value
sash.c: At top level:
sash.c:1454: warning: 'showPrompt' defined but not used
gcc -mtune=970 -O3 -pipe -fsigned-char -mabi=altivec -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 
-DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmds.o cmds.c
In file included from /usr/include/linux/prefetch.h:14,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/fs.h:12,
                 from cmds.c:21:
/usr/include/asm/processor.h:550: error: parse error before "vector128"
/usr/include/asm/processor.h:556: error: parse error before '}' token
In file included from /usr/include/linux/fs.h:12,
                 from cmds.c:21:
/usr/include/linux/wait.h: In function `init_waitqueue_head':
/usr/include/linux/wait.h:58: error: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
/usr/include/linux/wait.h:58: error: (Each undeclared identifier is reported only once
/usr/include/linux/wait.h:58: error: for each function it appears in.)
make: *** [cmds.o] Error 1

!!! ERROR: app-shells/sash-3.6 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)

Just an enhancement bug! ;-)

Markus

------- Comment #1 From Markus Rothe 2004-08-24 04:38:54 0000 -------
add: using gcc-3.4.1

------- Comment #2 From Markus Rothe 2004-08-24 05:30:19 0000 -------
works fine with linux26-headers-2.6.3-r1

Markus

------- Comment #3 From Tom Gall 2004-09-22 20:22:50 0000 -------
and is broken with linux26-headers2.6.7 :-/

------- Comment #4 From SpanKY 2004-09-27 23:01:35 0000 -------
what about 2.6.8.1 ?

------- Comment #5 From SpanKY 2004-09-27 23:02:20 0000 -------
*** Bug 61488 has been marked as a duplicate of this bug. ***

------- Comment #6 From SpanKY 2004-09-27 23:02:24 0000 -------
*** Bug 61493 has been marked as a duplicate of this bug. ***

------- Comment #7 From Tim Yamin (RETIRED) 2004-09-28 09:00:38 0000 -------
Created an attachment (id=40636) [details]
Patch

Please try this patch on your headers (apply to /usr/include/asm). Thanks!

------- Comment #8 From Markus Rothe 2004-10-03 01:15:30 0000 -------
the patch works with linux26-headers-2.6.7-r4, but it gives some new errors
with 2.6.8.1. So 2.6.7 are the way to go.. :-)

Markus

------- Comment #9 From Tim Yamin (RETIRED) 2004-10-03 03:30:10 0000 -------
Would you mind pasting the errors with 2.6.8.1 please?

------- Comment #10 From Markus Rothe 2004-10-03 03:43:27 0000 -------
Created an attachment (id=40974) [details]
sash output using 2.6.8.1

sure... here it is.

Markus

------- Comment #11 From Tim Yamin (RETIRED) 2004-10-03 03:57:36 0000 -------
Try running (in bash/zsh):

%> sed -i -e "s/\([ "$'\t'"]\)u32/\1__u32/g;s/\([ "$'\t'"]\)u16/\1__u16/g;s/\([ "$'\t'"]\)u8/\1__u8/g;s/\([ "$'\t'"]\)u64/\1__u64/g;" /usr/include/asm/iSeries/*
%> sed -i -e "s/\([ "$'\t'"]\)u32/\1__u32/g;s/\([ "$'\t'"]\)u16/\1__u16/g;s/\([ "$'\t'"]\)u8/\1__u8/g;s/\([ "$'\t'"]\)u64/\1__u64/g;" /usr/include/asm/*

------- Comment #12 From Markus Rothe 2004-10-03 04:21:48 0000 -------
Created an attachment (id=40976) [details]
sash output with 2.6.8.1 and "sed ..."

the command reduces the errors! :-)

Markus

------- Comment #13 From Tim Yamin (RETIRED) 2004-10-03 06:00:23 0000 -------
Hrm, can you attach /usr/include/asm/iSeries/ItLpPaca.h ?

------- Comment #14 From Markus Rothe 2004-10-03 06:09:59 0000 -------
Created an attachment (id=40989) [details]
/usr/include/asm/iSeries/ItLpPaca.h

------- Comment #15 From Tim Yamin (RETIRED) 2004-10-03 06:15:13 0000 -------
Hrm, weird. Looks like the sed didn't pick up line 101 and 102 of
/usr/include/asm/iSeries/ItLpPaca.h for you, but it did here. Want to change
those from "volatile u64" to "volatile __u64"? Then make the following change
on /usr/include/asm/page.h:

@@ -90,6 +91,8 @@
 /* to align the pointer to the (next) page boundary */
 #define PAGE_ALIGN(addr)       _ALIGN(addr, PAGE_SIZE)

+typedef struct { unsigned long pte; } pte_t;
+
 #ifdef __KERNEL__
 #ifndef __ASSEMBLY__
 #include <asm/naca.h>
@@ -128,7 +131,6 @@
  * These are used to make use of C type-checking.
  * Entries in the pte table are 64b, while entries in the pgd & pmd are 32b.
  */
-typedef struct { unsigned long pte; } pte_t;
 typedef struct { unsigned int  pmd; } pmd_t;
 typedef struct { unsigned int  pgd; } pgd_t;
 typedef struct { unsigned long pgprot; } pgprot_t;

... and tell me how that goes.

------- Comment #16 From Markus Rothe 2004-10-03 06:23:29 0000 -------
Hi,

sash-3.6, mac-fdisk-0.1-r2 and kbd-1.12-r2 all compile now! :-)

Markus

------- Comment #17 From Markus Rothe 2004-10-03 06:28:30 0000 -------
should I build a patch which includes all changes or are you willing to do it?

Markus

------- Comment #18 From Tim Yamin (RETIRED) 2004-10-03 06:33:03 0000 -------
I'm doing it - it should be in CVS in a few minutes and reach the rsync servers
within an hour. Please test linux26-headers-2.6.8.1-r1 when it appears and
please tell me if things work/fail :-)

------- Comment #19 From Markus Rothe 2004-10-03 07:57:46 0000 -------
I cannot emerge it:

(...)
  CRC32c CRC algorithm (CRYPTO_CRC32C) [N/m/y/?] (NEW) n
  Testing module (CRYPTO_TEST) [M/n/y/?] m
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [M/y/?] (NEW) m
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [N/m/y/?] 
(NEW) n
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/bin2c
  CC      arch/ppc64/kernel/asm-offsets.s
In file included from include/asm/system.h:13,
                 from include/linux/list.h:6,
                 from include/linux/signal.h:4,
                 from arch/ppc64/kernel/asm-offsets.c:17:
include/asm/page.h:152: error: conflicting types for 'pte_t'
include/asm/page.h:94: error: previous declaration of 'pte_t' was here
make[1]: *** [arch/ppc64/kernel/asm-offsets.s] Error 1
make: *** [arch/ppc64/kernel/asm-offsets.s] Error 2

!!! ERROR: sys-kernel/linux26-headers-2.6.8.1-r1 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! prepare failed

Markus

------- Comment #20 From Tim Yamin (RETIRED) 2004-10-03 08:42:07 0000 -------
Ok, should be fixed now... You want a
sys-kernel/linux26-headers/files/linux26-headers-2.6.8.1-appCompat.patch with a
MD5 of a7fc9c7093167bfa5e435df748e0cce5.

------- Comment #21 From Markus Rothe 2004-10-03 09:22:54 0000 -------
Finally it works like a charm! :-)

linux26-headers-2.6.8.1-r1 merges succesfully and sash/mac-fdisk/kbd also compiles.

Changeing status to FIXED.

Markus

------- Comment #22 From Tom Gall 2004-10-31 07:52:58 0000 -------
time to stick a fork in it!

First Last Prev Next    No search results available      Search page      Enter new bug