View previous topic :: View next topic |
Author |
Message |
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 2:12 pm Post subject: |
|
|
Alors là, c'est vraiment un gros bug...
En fait l'option -finline-limit requière un argument (-finline-limit=600 par exemple). Dans Dacovea, par contre, la valeur de cette argument n'est, pour l'instant pas sauvegardée. Grosse erreur de ma part, car cette option n'a jamais été sélectionnée avant, et donc pas d'erreur lors de mes tests.
Je vais devoir modifier dacovea, mais pour l'instant, tu peux éditer le fichier /tmp/ts/lame.out et remplace la ligne -finline-limit par -finline-limit=600 et relance le script...
Voila, tu es au bout de tes peines... _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 2:40 pm Post subject: |
|
|
OK. Je viens donc d'éditer /tmp/ts/lame.out. Alors du coup j'ai relancé le script et ça va plus loin
Seul hic, j'ai une nouvelle erreur
Je vais finir par croire que je suis antipathique à tous ces beaux scripts python
Voici donc l'erreur que je rencontre :
Code: | [HCG] Testing with -O3 flag
[HCG] Compilation took 32s
[HCG] -O3 returned 2.762 with binary size 318659 bytes
[HCG] Testing with fitted flags
[HCG] Compilation took 32s
[HCG] Dacovea flags returned 2.500 with binary size 334895 bytes
[HCG] Testing with original project flags
takehiro.c:1202: warning: `all_scalefactors_not_negative' defined but not used
[HCG] Compilation took 37s
[HCG] Initial flags returned 2.739 with binary size 383910 bytes
Traceback (most recent call last):
File "/root/cflags/cflagselect.py", line 154, in ?
InOut.TransmitResult(listname[softname], dr, result, Conf, teston != -1)
File "/root/cflags/InOut.py", line 640, in TransmitResult
Text += EmbedValue(Boundary, "ProcType", ProcName[0])
IndexError: string index out of range |
J'espère au moins que ça aide le développement du projet
Allez, faut y croire, on est bientôt au bout _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 2:51 pm Post subject: |
|
|
Bon, cette fois ci, est-ce que tu peux poster ton /etc/hardware.conf ? (si poste les lignes : type PROC=machin
BUSSPEED=chose
etc...
Le script se viande parce qu'il ne trouve pas le type de processeur dans son tableau de nom, et donc, il ne sait pas dans quelle catégorie le classer. (Ce serait pas un K6 par hazard ?)
(Ne t'en fais pas, je m'attendais à ça, puisque la détection du matériel est certainement ce qu'il y a de plus difficile à faire, surtout sous Linux) _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 2:58 pm Post subject: |
|
|
Voici donc mon /etc/hardware.conf
Code: | PROCVAL=AMD Athlon(tm) XP 2500+
SPEED=1829.793
HT=no
NBPROC=1
MEMORY=512
GCARD=00.0 VGA compatible controller
GCARDMEM=64M
BUSSPEED=166Mhz+
MEMTYPE=DDRAM4200 |
Désolé si je fais perdre du temps =/ _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 3:10 pm Post subject: |
|
|
Efface InOut.py et InOut.pyc et relance le script (qui va retélécharger les nouvelles versions)... Et reessaye...
Désolé, je ne comprend pas pourquoi le script n'a pas détecté ton Athlon... _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 3:15 pm Post subject: |
|
|
J'ai compris, en fait le script cherchait la chaîne "Athlon(R)" et non "Athlon(tm)". Comme je n'ai pas d'athlon, je ne me suis pas rendu compte de cette erreur... Ca devrait être fixé dans les nouveaux scripts...
Donc, effacement du fichier InOut.py et relancement du script en perspective... _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 3:23 pm Post subject: |
|
|
Que ce soit en supprimant InOut.py et InOut.pyc ou bien en essayant avec TOUS les nouveaux scripts, cflagselect.py y compris, j'obtiens ça :
Code: | [HCG] Downloading testable software list...
(1) testme v0.1
(4) lame v3.96
(2) alma v1.0
(3) huff v1.0
[HCG] Please select a software to test : 4
[HCG] Testing : lame v3.96
[HCG] Download of lame in /tmp/ts/lame-3.96.tar.gz succeeded
[HCG] Download of TS/testlame in /tmp/ts/testlame succeeded
[HCG] Download of TF/test.wav in /tmp/ts/test.wav succeeded
[HCG] Download of GS/gslame in /tmp/ts/gslame succeeded
[HCG] GZipped tar found, reading it
[HCG] Archive found now and modified
[HCG] A problem occured while creating the command line |
_________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 3:49 pm Post subject: |
|
|
La joie du débugging à distance... Donc, cette fois ci, c'est dacovea qui n'a pas été nettoyé. Je te conseille d'aller dans le répertoire nommé dacovea-1.0/acovea-4.0.0 et de faire un make uninstall.
Ensuite tu peux supprimer ce répertoire dacovea-1.0
Si tu lance le script depuis le début, la bonne version de dacovea s'installe. Dans ton cas, le script s'emmèle et ne télécharge pas la bonne version, car il trouve l'ancienne dans le path. Et en l'occurence, le fichier de pool de cflags a changé, donc il ne peux construire la ligne de commande.
Une autre solution constiste à recréer ton fichier de cflags (ou à déplacer le tien), à mettre dans "/tmp/ts/gcc33_processor.dacovea" dans ton cas. Désolé, mais j'ai dû modifier ces scripts pour rendre une interface commune à tous. _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 4:05 pm Post subject: |
|
|
Youpéka ! Ca a fonctionné
Magnifique, quelle joie de voir enfin :
Code: | [HCG] Report sent successfully to host
[HCG] Report sent successfully to host
[HCG] Report sent successfully to host |
Je me doute bien que mon test du projet ne constitue certainement pas la majeure partie du débuggage mais je suis heureux d'avoir pu y contribuer
NOTE : je vais donc lancer les tests sur mon P-III, maintenant _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
X-Ryl669 Tux's lil' helper
Joined: 16 Feb 2004 Posts: 135
|
Posted: Tue Jun 15, 2004 4:15 pm Post subject: |
|
|
Tu es maintenant dans la base de données, donc tout un chacun peut voir tes résultats (et toi aussi)...
Voila, merci pour ton soutien. _________________ Think it twice, think it thrice, you never think enough... |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Tue Jun 15, 2004 4:25 pm Post subject: |
|
|
Je vais me mettre à la tache pour vérifier que tout fonctionne bien. J'ai également un Athlon XP mais 1600+ seulement.
Je vous tiens informé.
EDIT : Oups je vais encore moins loin qu'avant. Je t'envoie un PM.
Last edited by Pachacamac on Tue Jun 15, 2004 4:36 pm; edited 1 time in total |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 4:33 pm Post subject: |
|
|
X-Ryl669 wrote: | Tu es maintenant dans la base de données, donc tout un chacun peut voir tes résultats (et toi aussi)...
Voila, merci pour ton soutien. |
Je t'en prie. Je suis content de faire partie des premiers bêta-testeurs _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Jun 15, 2004 4:45 pm Post subject: |
|
|
Code: |
config.status: creating mac/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Found in ./mpglib/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./libmp3lame/i386/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./libmp3lame/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./frontend/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe -I/usr/include/gtk-1.2 -I/usr/include/gli b-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
Found in ./Dll/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./debian/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./doc/html/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./doc/man/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./doc/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./include/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./misc/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./dshow/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./ACM/ADbg/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./ACM/ddk/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./ACM/tinyxml/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./ACM/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./mac/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
Found in ./Makefile
CFLAGS = -O3 -ffast-math -funroll-loops - maccumulate-outgoing-args -Wall -pipe
[HCG] Archive found now and modified [ OK ]
[HCG] A problem occured while creating the command line [NOT OK]
|
j'obtient cette erreur pour lame _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 6:06 pm Post subject: |
|
|
Bon, chez moi c'est beaucoup plus basique :
Code: | root@opteron ~/cflags_en_folie >ls -al
total 52
drwxr-xr-x 2 root root 4096 jun 15 20:00 ./
drwx------ 15 root root 4096 jun 15 19:51 ../
-rwxr-xr-x 1 root root 35842 jun 15 17:39 InOut.py*
-rwxr-xr-x 1 root root 279 jun 15 17:39 Mirrors.py*
-rwxr-xr-x 1 root root 403 jun 15 11:41 Modify*
root@opteron ~/cflags_en_folie >cflagselect.py
Checking for package integrity...
Traceback (most recent call last):
File "/root/bin/cflagselect.py", line 34, in ?
import InOut
ImportError: No module named InOut
|
Martin |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 6:18 pm Post subject: |
|
|
Martin LORANG wrote: | Bon, chez moi c'est beaucoup plus basique :
Code: | root@opteron ~/cflags_en_folie >ls -al
total 52
drwxr-xr-x 2 root root 4096 jun 15 20:00 ./
drwx------ 15 root root 4096 jun 15 19:51 ../
-rwxr-xr-x 1 root root 35842 jun 15 17:39 InOut.py*
-rwxr-xr-x 1 root root 279 jun 15 17:39 Mirrors.py*
-rwxr-xr-x 1 root root 403 jun 15 11:41 Modify*
root@opteron ~/cflags_en_folie >cflagselect.py
Checking for package integrity...
Traceback (most recent call last):
File "/root/bin/cflagselect.py", line 34, in ?
import InOut
ImportError: No module named InOut
|
|
Je pense que tu ferais mieux de laisser le script cflagselect.py dans le même répertoire que les autres scripts plutôt que de considérer l'utiliser en le mettant simplement dans ton path. Essaye donc, pour voir. _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 6:24 pm Post subject: |
|
|
C'est exactement ça : il faut que cflagsselect.py soit dans le répertoire à partir duquel on lance la commande. |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 6:27 pm Post subject: |
|
|
Martin LORANG wrote: | C'est exactement ça : il faut que cflagsselect.py soit dans le répertoire à partir duquel on lance la commande. |
Depuis tout à l'heure je regarde le code de ces scripts et je me rends compte que le python est plutôt semblable au Java. Ayant une modeste expérience en Java, j'ai pu constater que les appels de classes sont similaires. C'est pareil, quand on veut appeler une classe externe avec import il faut s'assurer qu'elle se trouve dans un répertoire connu de la VM ou bien dans le répertoire courant. Maintenant, je ne suis pas expert _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Tue Jun 15, 2004 6:29 pm Post subject: |
|
|
kernel_sensei wrote: | Code: |
config.status: creating mac/Makefile
[...]
maccumulate-outgoing-args -Wall -pipe
[HCG] Archive found now and modified [ OK ]
[HCG] A problem occured while creating the command line [NOT OK]
|
j'obtient cette erreur pour lame |
J'ai exactement le meme probleme que toi.
X-Ryl669 cherche la cause et il postera un remède ici. |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 7:03 pm Post subject: |
|
|
Bon, maintenant c'est une erreur de compil :
Probablement quelque chose qui n'est plus accepté par gcc-3.4.0 et je ne veux plus voir gcc-3.3* sur mon système gcc-3.4 étant le 1er qui utilise les possibilités de mon système...
En lançant : Code: | CFLAGS="-g -pipe -O2 -fpermissive" CXXFLAGS=$CFLAGS ./cflagselect.py |
l'erreur se transforme en warning... |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 7:16 pm Post subject: |
|
|
Martin LORANG wrote: | Bon, maintenant c'est une erreur de compil :
Probablement quelque chose qui n'est plus accepté par gcc-3.4.0 et je ne veux plus voir gcc-3.3* sur mon système gcc-3.4 étant le 1er qui utilise les possibilités de mon système...
En lançant : Code: | CFLAGS="-g -pipe -O2 -fpermissive" CXXFLAGS=$CFLAGS ./cflagselect.py |
l'erreur se transforme en warning... |
Je ne comprends pas trop ta démarche en fait... Je ne vois pas pourquoi tu lancerais cflagselect.py avec des CFLAGS spécifiques, le but étant de déterminer les CFLAGS les plus pertinents
A moins que ce ne soit uniquement pour déterminer la cause du problème (oui, je pense que ce doit être ça)...
n'étant pas utilisateur de gcc-3.4.0 je ne peux malheureusement pas t'en dire plus... _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 7:21 pm Post subject: |
|
|
J'ai modifié dacovea-1.0/acovea-4.0.0/config/gcc34_pentium4.dacovea comme suit Code: | <?xml version="1.0"?>
<acovea_config>
<!-- Pentium configuration, for GCC 3.4 and later -->
<description value="GCC 3.4 Opteron 244 (amd64)" />
<command value="-O1|-march=opteron|-mtume=opteron|-ffast-math" />
|
Et maintenant je suis comme pas mal de monde avec : Code: | config.status: creating config.h
config.status: executing depfiles commands
Found in ./mpglib/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops -Wall -pipe
Found in ./libmp3lame/i386/Makefile
CFLAGS = -O3 -ffast-math -funroll-loops -Wall -pipe
:
:
Found in ./Makefile
CFLAGS = -O3 -ffast-math -funroll-loops -Wall -pipe
[HCG] Archive found now and modified [ OK ]
[HCG] A problem occured while creating the command line [NOT OK] |
voilà voilà |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 7:24 pm Post subject: |
|
|
YuLin wrote: | Martin LORANG wrote: | Bon, maintenant c'est une erreur de compil :
Probablement quelque chose qui n'est plus accepté par gcc-3.4.0 et je ne veux plus voir gcc-3.3* sur mon système gcc-3.4 étant le 1er qui utilise les possibilités de mon système...
En lançant : Code: | CFLAGS="-g -pipe -O2 -fpermissive" CXXFLAGS=$CFLAGS ./cflagselect.py |
l'erreur se transforme en warning... |
Je ne comprends pas trop ta démarche en fait... Je ne vois pas pourquoi tu lancerais cflagselect.py avec des CFLAGS spécifiques, le but étant de déterminer les CFLAGS les plus pertinents
A moins que ce ne soit uniquement pour déterminer la cause du problème (oui, je pense que ce doit être ça)...
n'étant pas utilisateur de gcc-3.4.0 je ne peux malheureusement pas t'en dire plus... |
En fait c'est simplement pour compiler acovea and friends sans erreur. Après je lance simplement ./cflagselect.py |
|
Back to top |
|
|
YuLin Tux's lil' helper
Joined: 30 Jan 2004 Posts: 88 Location: Lausanne [CH]
|
Posted: Tue Jun 15, 2004 7:29 pm Post subject: |
|
|
A mon avis ce n'est pas forcément la même chose, mais si tu regardes plus haut, j'ai eu les même symptômes, alors il se pourrait que ce soit éventuellement le même problème.
As-tu donc essayé de copier ton fichier gcc33_processor.dacovea vers /tmp/ts/ et / ou de faire un make uninstall dans le répertoire dacovea-1.0/acovea-4.0.0/ et de relancer cflagselect.py pour qu'il réinstalle dacovea ?
Si non, essaye donc, ça ne te coûte rien ; si oui, alors je ne vois pas _________________ Life would be so much easier if we could have a look at the source code...
http://photoblog.swissly-yours.net |
|
Back to top |
|
|
Martin LORANG Tux's lil' helper
Joined: 07 Dec 2003 Posts: 92 Location: Moselle / France
|
Posted: Tue Jun 15, 2004 7:38 pm Post subject: |
|
|
YuLin wrote: | A mon avis ce n'est pas forcément la même chose, mais si tu regardes plus haut, j'ai eu les même symptômes, alors il se pourrait que ce soit éventuellement le même problème.
As-tu donc essayé de copier ton fichier gcc33_processor.dacovea vers /tmp/ts/ et / ou de faire un make uninstall dans le répertoire dacovea-1.0/acovea-4.0.0/ et de relancer cflagselect.py pour qu'il réinstalle dacovea ?
Si non, essaye donc, ça ne te coûte rien ; si oui, alors je ne vois pas |
ça ne marche pas ici |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Tue Jun 15, 2004 7:46 pm Post subject: |
|
|
Martin LORANG wrote: | YuLin wrote: | A mon avis ce n'est pas forcément la même chose, mais si tu regardes plus haut, j'ai eu les même symptômes, alors il se pourrait que ce soit éventuellement le même problème.
As-tu donc essayé de copier ton fichier gcc33_processor.dacovea vers /tmp/ts/ et / ou de faire un make uninstall dans le répertoire dacovea-1.0/acovea-4.0.0/ et de relancer cflagselect.py pour qu'il réinstalle dacovea ?
Si non, essaye donc, ça ne te coûte rien ; si oui, alors je ne vois pas |
ça ne marche pas ici |
Ben a priori ton erreur ressemble quand meme etrangement a la mienne
A mon avis la meilleure chose a faire c'est prendre son mal en patience et attendre des news de la part de X-Ryl669 _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
|