You are not logged in. Login Now
 0-5   6-30   31-55   56-80   81-105   106-130   131-155   156-180   181-205 
 206-230   231-255   256-260        
 
Author Message
i
Grex System Problems - Winter 2005/06 Mark Unseen   Dec 23 04:28 UTC 2005

This item is for system problems.  If something on Grex isn't working 
right (line noise on a modem, weird behavior from a program, etc.), 
this is the place to announce it.  Except for security holes.  If you 
find a hole in system security, mail information about it to "staff".
260 responses total.
bhoward
response 1 of 260: Mark Unseen   Dec 23 04:58 UTC 2005

A lot of things have been fixed, tuned or otherwise corrected in
the weeks since the upgrade.  Now might be a good time to look
around and see what other systems issues are still outstanding --
broken or not working the same as before the upgrade -- and mention
it here to make certain nothing gets overlooked.
aruba
response 2 of 260: Mark Unseen   Dec 23 05:23 UTC 2005

I still can't compile my C++ programs since the upgrade.  I compile the
source files like this:

g++ -c -fno-exceptions box.cpp
g++ -c -fno-exceptions line.cpp
g++ -c -fno-exceptions parse.cpp
g++ -c -fno-exceptions token.cpp

and then link them like this:

ld -L/usr/lib/gcc-lib/i386-unknown-openbsd3.8/3.3.5 -lc -lm -lstdc++ -o box
box.o line.o parse.o token.o

The compiles go fine, but the linker has lots of errors of the form:

/usr/lib/libstdc++.so.40.0: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.so.40.0: undefined reference to `_Unwind_DeleteException'

and lots more like that.  I'm not calling the "Unwind" routines from my
code, so I presume the compiler is putting references in automatically.  I
thought maybe if I turned off exceptions that would take care of it, but as
you can see the "-fno-exceptions" flag didn't fix the problem.

So I need to either
a) tell the compiler not to insert those references, or
b) find the libraries that include those Unwind routines and link them in.
Anybody have any ideas?
mcnally
response 3 of 260: Mark Unseen   Dec 23 06:18 UTC 2005

  Try adding -lgcc and see if that fixes it.
aruba
response 4 of 260: Mark Unseen   Dec 24 21:05 UTC 2005

THanks Mike - that's better.  Now I only get two linker errors:

/usr/lib/libc.so.38.2: undefined reference to `environ'
/usr/lib/libc.so.38.2: undefined reference to `__progname'

I'm not referring to those two variables in my program; it looks like libc
is.  Is that the right libc to use?  Anybody know what library has those
symbols?
cross
response 5 of 260: Mark Unseen   Dec 25 00:26 UTC 2005

This response has been erased.

 0-5   6-30   31-55   56-80   81-105   106-130   131-155   156-180   181-205 
 206-230   231-255   256-260        
Response Not Possible: You are Not Logged In
 

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss