Message ID | yddfwgtloja.fsf@manam.CeBiTec.Uni-Bielefeld.DE |
---|---|
State | New |
Headers | show |
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes: > This patch led to many (all?) execution tests to fail on Solaris: > > Undefined first referenced > symbol in file > libgo_log.syslog.syslog_c /var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/./libgo/.libs/libgo.so > ld: fatal: symbol referencing errors. No output written to /var/gcc/regression/trunk/11-gcc-gas/build/gcc/testsuite/go/array-1.x > collect2: error: ld returned 1 exit status > > Fixed by the following patch. I've rebuilt libgo.so in mid-test and all > subsequent tests are now passing. Thanks for sorting this out. Committed to mainline. Ian
diff --git a/libgo/go/log/syslog/syslog_c.c b/libgo/go/log/syslog/syslog_c.c --- a/libgo/go/log/syslog/syslog_c.c +++ b/libgo/go/log/syslog/syslog_c.c @@ -10,7 +10,7 @@ can't represent a C varargs function in Go. */ void syslog_c(int, const char*) - asm ("libgo_syslog.syslog.syslog_c"); + asm ("libgo_log.syslog.syslog_c"); void syslog_c (int priority, const char *msg)