Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148917 - net-wireless/rt61 wont compile with gcc-4.1.1-r1 on amd64
Summary: net-wireless/rt61 wont compile with gcc-4.1.1-r1 on amd64
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-24 05:34 UTC by marvin rouge
Modified: 2007-05-09 20:22 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 marvin rouge 2006-09-24 05:34:17 UTC
Hi,
net-wireless/rt61 won't compile with gcc-4.1.1 / amd64. Here's the output of emerge:

 * Found sources for kernel version:
 *     2.6.16-gentoo-r6
 * Checking for suitable kernel configuration options...                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rt61-1.1.0-b1.tar.gz to /var/tmp/portage/rt61-1.1.0_beta1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1 ...
 * Preparing rt61 module
make[1]: entrant dans le r
Comment 1 marvin rouge 2006-09-24 05:34:17 UTC
Hi,
net-wireless/rt61 won't compile with gcc-4.1.1 / amd64. Here's the output of emerge:

 * Found sources for kernel version:
 *     2.6.16-gentoo-r6
 * Checking for suitable kernel configuration options...                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rt61-1.1.0-b1.tar.gz to /var/tmp/portage/rt61-1.1.0_beta1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1 ...
 * Preparing rt61 module
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.16-gentoo-r6 »
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.o
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.o
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeHandler:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:299: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:367: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function STAMlmePeriodicExec:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:752: attention : unused variable RxSignal
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeEnqueue:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:2964: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeEnqueueForRecv:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3059: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeDequeue:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3114: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeRestartStateMachine:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3154: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3221: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeQueueEmpty:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3252: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeQueueFull:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3284: attention : il manque un transtypage pour comparer des types distincts de pointeur
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function MlmeQueueDestroy:
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3316: attention : il manque un transtypage pour comparer des types distincts de pointeur
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/connect.o
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/sync.o
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/assoc.o
{entrée standard}: Messages de l'assembleur:
{entrée standard}:4737: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:4769: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:4803: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:4837: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:6858: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:6972: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:9489: ERREUR: suffixe ou opérande invalide pour « pop »
{entrée standard}:9577: ERREUR: suffixe ou opérande invalide pour « pop »
make[3]: *** [/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.o] Erreur 1
make[3]: *** Attente des tâches non terminées....
make[2]: *** [_module_/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module] Erreur 2
make[1]: *** [modules] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.16-gentoo-r6 »
rt61.ko failed to build!
make: *** [module] Erreur 1

!!! ERROR: net-wireless/rt61-1.1.0_beta1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  rt61-1.1.0_beta1.ebuild, line 33:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make  KERNDIR=/usr/src/linux KERNOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info:
Portage 2.1.2_pre1-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 17:00:09 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LINGUAS="fr en_GB en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"


I can compile rt61 with gcc-3.4.6. Let me know if you need more info.
cheers
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-24 05:49:29 UTC
Set your locales to C when reporting bugs. Reopen with error messages in English.
Comment 3 marvin rouge 2006-09-24 07:38:34 UTC
(In reply to comment #1)
> Set your locales to C when reporting bugs. Reopen with error messages in
> English.
> 

Oops. Sorry. Here you are: 

 * Found sources for kernel version:
 *     2.6.16-gentoo-r6
 * Checking for suitable kernel configuration options...                                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rt61-1.1.0-b1.tar.gz to /var/tmp/portage/rt61-1.1.0_beta1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1 ...
 * Preparing rt61 module
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r6'
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.o
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.o
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeHandler':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:299: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:367: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'STAMlmePeriodicExec':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:752: warning: unused variable 'RxSignal'
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeEnqueue':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:2964: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeEnqueueForRecv':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3059: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeDequeue':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3114: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeRestartStateMachine':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3154: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3221: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeQueueEmpty':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3252: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeQueueFull':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3284: warning: comparison of distinct pointer types lacks a cast
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeQueueDestroy':
/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3316: warning: comparison of distinct pointer types lacks a cast
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/connect.o
  CC [M]  /var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/sync.o
{standard input}: Assembler messages:
{standard input}:4737: Error: suffix or operands invalid for `pop'
{standard input}:4769: Error: suffix or operands invalid for `pop'
{standard input}:4803: Error: suffix or operands invalid for `pop'
{standard input}:4837: Error: suffix or operands invalid for `pop'
{standard input}:6858: Error: suffix or operands invalid for `pop'
{standard input}:6972: Error: suffix or operands invalid for `pop'
{standard input}:9489: Error: suffix or operands invalid for `pop'
{standard input}:9577: Error: suffix or operands invalid for `pop'
make[3]: *** [/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r6'
rt61.ko failed to build!
make: *** [module] Error 1

!!! ERROR: net-wireless/rt61-1.1.0_beta1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  rt61-1.1.0_beta1.ebuild, line 33:   Called linux-mod_src_compile
  linux-mod.eclass, line 469:   Called die

!!! Unable to make  KERNDIR=/usr/src/linux KERNOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-09 20:22:11 UTC
does this work with beta2?