This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.5 rev 45972 fails build on Mac-Intel
Type: Stage:
Components: Build Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: aleax Nosy List: aleax, loewis, nnorwitz, ronaldoussoren
Priority: normal Keywords:

Created on 2006-05-12 05:51 by aleax, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (7)
msg28507 - (view) Author: Alex Martelli (aleax) * (Python committer) Date: 2006-05-12 05:51
brain:~/py25 alex$ make
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes   Parser/acceler.o 
Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o 
Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/
firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/
mysnprintf.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/
pgenmain.o -ldl  -o Parser/pgen
/usr/bin/ld: warning Parser/printgrammar.o cputype (18, architecture 
ppc) does not match cputype (7) for specified -arch flag: i386 (file not 
loaded)
/usr/bin/ld: Undefined symbols:
__Py_printgrammar
__Py_printnonterminals
collect2: ld returned 1 exit status
make: *** [Parser/pgen] Error 1
brain:~/py25 alex$ 

This is a MacBook Pro with gcc version 4.0.1 (Apple Computer, Inc. build 
5250) -- not sure why there's an "architecture ppc" found somewhere, 
haven't looked at it in detail yet, but at any rate this breaks the make.


Alex
msg28508 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-05-15 06:23
Logged In: YES 
user_id=33168

Alex, can you try with a current checkout?  It looks like
Ronald checked in fixes for x86 at 45997.
msg28509 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-05-19 10:38
Logged In: YES 
user_id=580910

It seems to work for me (current trunk). Feel free to assign this to me if it 
doesn't work for you.
msg28510 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-05-23 11:47
Logged In: YES 
user_id=580910

I've checked in a fix in revision 46103. Could you please test if this solves the 
problems for you?
msg28511 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-05-23 12:12
Logged In: YES 
user_id=580910

Never mind, wrong bug. I would like to hear if the trunk works for you though.
msg28512 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-03 12:04
Logged In: YES 
user_id=21627

Lowering the priority - the problem apparently isn't all
that pressing anymore.
msg28513 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-07-05 04:02
Logged In: YES 
user_id=33168

Alex reported in mail that everything works as of 2.5b1.
History
Date User Action Args
2022-04-11 14:56:17adminsetgithub: 43349
2006-05-12 05:51:42aleaxcreate