Bug 53605 - gcj3 static linking unresolved symbols errors
Summary: gcj3 static linking unresolved symbols errors
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc3
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-12 18:34 UTC by Niklas Fondberg
Modified: 2007-04-18 16:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2003-08-05 15:55:10 UTC


Attachments (Terms of Use)

Description Niklas Fondberg 2001-09-12 18:34:11 UTC
Description of Problem:
gjc3 fails to statically link libraries with '-static' or '-Wl, -Bstatic' 
options

Version-Release number of selected component (if applicable):


How Reproducible:
everytime

Steps to Reproduce:
1.create a helloworld.java
2.run 'gcj3 -static -o helloworld --main=helloworld helloworld.java'
3.
 

Actual Results:
unresolved symbols ld exiting with errors

Expected Results:
statically linked libraries

Additional Information:
tried on debian unstable gcj 3.0.1 with success

Comment 1 Jakub Jelinek 2003-08-05 15:55:10 UTC
Should be fixed in 3.0.1-4 and later.


Note You need to log in before you can comment on or make changes to this bug.