Opened 14 years ago
Closed 13 years ago
#27163 closed defect (worksforme)
gcc44 4.4.5 fails to build Leopard/ppc
Reported by: | jeremyhu (Jeremy Huddleston Sequoia) | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | dbevans (David B. Evans) | |
Port: | gcc44 |
Description (last modified by jeremyhu (Jeremy Huddleston Sequoia))
libtool: compile: /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/build/./gcc/xgcc -B/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/build/./gcc/ -B/opt/local/ppc-apple-darwin9/bin/ -B/opt/local/ppc-apple-darwin9/lib/ -isystem /opt/local/ppc-apple-darwin9/include -isystem /opt/local/ppc-apple-darwin9/sys-include -DHAVE_CONFIG_H -I/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/gcc-4.4.5/boehm-gc/include -fexceptions -Iinclude -I././targ-include -I.//libc/include -g -pipe -ggdb3 -fexceptions -Iinclude -I././targ-include -I.//libc/include -c ../../../gcc-4.4.5/boehm-gc/os_dep.c -fno-common -DPIC -o .libs/os_dep.o In file included from /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/gcc-4.4.5/boehm-gc/include/private/gc_priv.h:98, from ../../../gcc-4.4.5/boehm-gc/os_dep.c:17: /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/gcc-4.4.5/boehm-gc/include/private/gc_locks.h: In function 'GC_test_and_set': /opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_lang_gcc44/work/gcc-4.4.5/boehm-gc/include/private/gc_locks.h:165: error: 'asm' operand has impossible constraints
inline static int GC_test_and_set(volatile unsigned int *addr) { int oldval; int temp = 1; /* locked value */ __asm__ __volatile__( "1:\tlwarx %0,0,%3\n" /* load and reserve */ "\tcmpwi %0, 0\n" /* if load is */ "\tbne 2f\n" /* non-zero, return already set */ "\tstwcx. %2,0,%1\n" /* else store conditional */ "\tbne- 1b\n" /* retry if lost reservation */ "\tsync\n" /* import barrier */ "2:\t\n" /* oldval is zero if we set */ : "=&r"(oldval), "=p"(addr) : "r"(temp), "1"(addr) : "cr0","memory"); return oldval; }
Change History (6)
comment:1 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from macports-tickets@… to mww@… |
---|
comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Cc: | devans@… added |
---|
comment:4 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
I just filed this upstream due to lack of response:
comment:5 Changed 13 years ago by jmroot (Joshua Root)
I just installed 4.4.6 on 10.5/ppc without any problems, FYI.
comment:6 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
What's going on with this? It's blocking a bunch of gnome from installing due to new dependencies. Adding devans.