🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by JimLane Tue, 27 Oct 1992 19:18
Likely gcc error
#7
Author: JimLane
Date: Tue, 27 Oct 1992 19:18
85 lines
4240 bytes
  I believe gcc generated incorrect object code. Below are 
  two different compilations of ws_pm.c in
  /mit/extensions/lib/PEX/ws of the X distribution.  If you
  will notice the symbol XtStrings you will see that the 
  native compiler correctly labeled it as data while the
  gcc compiler labeled it as code causing the linker to
  hiccup.  This was done on a hp9000/730 running hpux 8.07
  using gcc version 2.2.2.

                                       JimLane (lane@spot.colorado.edu)

------------------------------------------------------------

nag:ws> gcc +O1 -I../include -I../../../include/PEX
-I../../../../X11 -I../../../../. -DSYSV -c ws_pm.c
gcc: +O1: linker input file unused since linking not done
nag:ws> !nm
nm ws_pm.o

Symbols from ws_pm.o:

Name                    Value   Scope  Type    Subspace

$global$            |          |undef |data   |
XtPopdown           |          |undef |code   |
done_button         |         0|static|code   |$CODE$
XtVaCreatePopupShell|          |undef |code   |
applicationShellWidgetClass|          |undef |data   |
LC$0000             |       164|static|code   |$CODE$
XtVaCreateManagedWidget|          |undef |code   |
boxWidgetClass      |          |undef |data   |
LC$0001             |       172|static|code   |$CODE$
commandWidgetClass  |          |undef |data   |
LC$0002             |       176|static|code   |$CODE$
XtAddCallback       |          |undef |code   |
XtStrings           |          |undef |code   |     <<<<<<<<<<<<<<<<<<<<<<<
labelWidgetClass    |          |undef |data   |
LC$0003             |       184|static|code   |$CODE$
create_message_win  |       192|static|code   |$CODE$
XtUnmanageChild     |          |undef |code   |
XtVaSetValues       |          |undef |code   |
XtManageChild       |          |undef |code   |
XtPopup             |          |undef |code   |
message             |       532|static|code   |$CODE$
phg_wsx_pm_create_message_win|       864|extern|code   |$CODE$

---------------------------------------------------------------------
nag:ws> cc +O1 -I../include -I../../../include/PEX -I../../../../X11 -I../../../../. -DSYSV -c ws_pm.c
nag:ws> !nm
nm ws_pm.o

Symbols from ws_pm.o:

Name                    Value   Scope  Type    Subspace

$str_lit_sym$       |1073741824|static|data   |$DATA$
$THIS_DATA$         |1073741824|static|data   |$DATA$
$THIS_SHORTDATA$    |1073741856|static|data   |$SHORTDATA$
$THIS_BSS$          |1073741856|static|data   |$BSS$
$THIS_SHORTBSS$     |1073741856|static|data   |$SHORTBSS$
$THIS_STATICDATA$   |1073741856|static|data   |$STATICDATA$
$THIS_SHORTSTATICDATA$|1073741856|static|data   |$SHORTSTATICDATA$
$THIS_LIT$          |       368|static|code   |$LIT$
$THIS_LITSTATIC$    |       368|static|code   |$LITSTATIC$
$global$            |          |undef |data   |
XtStrings           |          |undef |data   |    <<<<<<<<<<<<<<<<<<<<<<<<
applicationShellWidgetClass|          |undef |data   |
boxWidgetClass      |          |undef |data   |
labelWidgetClass    |          |undef |data   |
commandWidgetClass  |          |undef |data   |
done_button         |         0|static|entry  |$CODE$
XtPopdown           |          |undef |code   |
create_message_win  |        32|static|entry  |$CODE$
XtVaCreatePopupShell|          |undef |code   |
XtVaCreateManagedWidget|          |undef |code   |
XtAddCallback       |          |undef |code   |
message             |       224|static|entry  |$CODE$
XtUnmanageChild     |          |undef |code   |
XtVaSetValues       |          |undef |code   |
XtManageChild       |          |undef |code   |
XtPopup             |          |undef |code   |
phg_wsx_pm_create_message_win|       336|extern|entry  |$CODE$
v
v
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads