Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46308 - bestcrypt-1.5_p2 compiles under gentoo-dev-sources-2.6.3-r2 but creates broken modules
Summary: bestcrypt-1.5_p2 compiles under gentoo-dev-sources-2.6.3-r2 but creates broke...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-30 16:35 UTC by Sebastian B. Otaegui
Modified: 2004-08-05 10:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian B. Otaegui 2004-03-30 16:35:04 UTC
The emerge goes fine, but when you try to "/etc/init.d/bcrypt start" 
The system says:
FATAL: Error inserting bc (/lib/modules/2.6.3-gentoo-r2/kernel/drivers/block/bc.ko): Invalid module format
<snip>

Reproducible: Always
Steps to Reproduce:
1.
2.
3.


Expected Results:  
To load ok.

emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) 4 processor
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -m3dnow -msse -mmmx -pipe -fomit-frame-pointer
-falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -m3dnow -msse -mmmx -pipe -fomit-frame-pointer
-falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://128.213.5.34/gentoo/
http://gentoo.noved.org/ http://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/portage-pkgs"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib aavm acl acpi acpi4linux alsa amd apache2 apm
artswrappersuid autofs avi berkdb bindist bonobo cddb cdr chroot crypt cscope
cups curl dga directfb dvd encode esd etwin evms2 evo faad fam fastcgi fbcon
flac flash foomaticdb gb gd gdbm ggi gif glut gnome gnutls gpm gtk gtk2 gtkhtml
imagemagick imlib innodb ipv6 java javascript jpeg lcms ldap lesstif libg++
libwww lufsusermount mad maildir make-busybox-symlinks mbox md5sum mdb memlimit
mmap mmx mono motif mozilla mozsvg mpeg mpi msn ncurses net nls nogcj noiax
nomac nowin nptl offensive oggvorbis opengl openssh operanom2 oscar oss pam pcap
pdflib pear-db perl pg-hier pg-vacuumdelay php pic png ppds propolice psyco
python qt quicktime readline ruby samba savedconfig sdk sdl serial slang snmp
socks5 spell sqlite sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype
usagi video_cards_nvidia vim-with-x wmf wxwin wxwindows x86 xfs xgetdefault
xinerama xml2 xmms xosd xv yahoo zlib"


 /lib/libc.so.6 
GNU C Library stable release version 2.3.3, by Roland McGrath et al.
Copyright (C) 2004 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.
Compiled by GNU CC version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7).
Compiled on a Linux 2.6.3 system on 2004-03-11.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        NPTL 0.60 by Ulrich Drepper
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs@gnu.org>.



gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3/work/gcc-3.3.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic
--enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib
Thread model: posix
gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
Comment 1 Richard Bratt 2004-05-05 03:47:14 UTC
this is also true in 2.6.6-rc1-mm1 using BestCrypt-1.5-3.tar.gz
Comment 2 Carl Bach 2004-05-21 09:38:01 UTC
Simply outcomment the following line in the ebuild:

#       epatch ${FILESDIR}/${P}-makefile_fix.patch

That patch is somehow broken and I really never needed it.
Comment 3 Carl Bach 2004-05-21 09:45:42 UTC
Sorry that was wrong. I have that problem, now, too, with 2.6.6-love4. Uncommenting the makefile did the trick for 2.6.5-rc3-love4, but now, I have the same problem.
Comment 4 Carl Bach 2004-05-21 10:21:18 UTC
The problem also exists if you use the latest BestCrypt 1.5.4. It compiles fine, but the loading if the modules does not work.
Comment 5 Dietrich Heise 2004-05-25 17:07:47 UTC
version 1.5-5 works great without any patch and with kernel 2.6.6
Comment 6 Carl Bach 2004-05-26 01:56:03 UTC
Yeah 1.5.5 works flawlessly again! I needed the fixes for SMP which where introduced in 1.5.5. Nice!
Comment 7 Dylan Carlson (RETIRED) gentoo-dev 2004-07-25 19:51:24 UTC
I have no idea why this is assigned to me.  Back to mholzer.
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2004-08-05 10:19:52 UTC
closing