On Mon, Nov 01, 2004 at 04:27:35PM -0600, Dave Kleikamp wrote:
> The problem is that struct logsuper is smaller than 4K, and we are
> writing 4K from that structure. I'm not sure why you're the first to
> report the problem. Maybe it's a newer compiler or linker.
>
[EMAIL PROTECTED] jfsutils-1.1.7]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking
--with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42)
[EMAIL PROTECTED] jfsutils-1.1.7]# ld -v
GNU ld version 2.14.90.0.4 20030523
> This patch does a calloc instead of declaring the structure statically.
> Does it fix your problem?
Yes, with this patch I can mkfs and fsck the lvol without incident.
--
Rikki. -- RHCE, RHCX, HP-UX Certified Administrator.
-- Solaris 7 Certified Systems and Network Administrator.
Bell Labs Unix -- Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.
_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion