To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65394
                  Issue #:|65394
                  Summary:|-pthreads option enables profiling in vcl
                Component:|gsl
                  Version:|OOo 2.0.2
                 Platform:|PC
                      URL:|
               OS/Version:|Solaris
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|jl
              Reported by:|it46





------- Additional comments from [EMAIL PROTECTED] Mon May 15 05:54:12 -0700 
2006 -------
Building the gtk plug-in (vcl) in Solaris x86 and Sun Studio 10, the flag
"-pthread" creates "profiling code" as the compiler beleives is the option "-p"
 (profiling). 

The result is that the vcl_dflt_version.o object contains the symbol _mcount
that will result in an unresolved symbol during linking.

Have not find out the way to disable this option, removing -pthread solves the
problem. 

Same problem takes place when compiling the following files:
./unxsoli4.pro/misc/vcl_dflt_version.c
./unxsoli4.pro/misc/vclplug_gen_dflt_version.c
./unxsoli4.pro/misc/vclplug_dummy_dflt_version.c
./unxsoli4.pro/misc/vclplug_gtk_dflt_version.c

---

*****-pthreads*****  is marked. 
cc  -c -temp=/tmp -I.  -I. -I../inc -I../inc -I../unx/inc -I../unxsoli4.pro/inc
-I. -I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/dont_use_stl
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/external
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc
-I/o3/BuildDir/ooo_OOB680_m5_src/solenv/unxsoli4/inc
-I/o3/BuildDir/ooo_OOB680_m5_src/solenv/inc -I/o3/BuildDir/ooo_OOB680_m5_src/res
-I/o3/BuildDir/ooo_OOB680_m5_src/solver/680/unxsoli4.pro/inc/dont_use_stl
-I/include -I/o3/BuildDir/ooo_OOB680_m5_src/solenv/inc/Xp31
-I/usr/jdk/j2sdk1.4.2_08/include -I/usr/jdk/j2sdk1.4.2_08/include/solaris
-I/usr/jdk/j2sdk1.4.2_08/include/native_threads/include     -I. -I../res -I.
-xarch=generic -xO3 -xspace   -xldscope=hidden -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS *****-pthreads***** -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-xCC  -g -xs -KPIC -DSOLARIS -DUNX -DVCL -DC52 -DC52 -DINTEL -DCVER=C52
-D_USE_NAMESPACE -mt -D_PTHREADS -DSYSV -DSUN -DSUN4 -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX
-DCPPU_ENV=sunpro5 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA
-DOOB680=OOB680 -DUSE_BUILTIN_RASTERIZER  -DVCL_DLLIMPLEMENTATION -DSHAREDLIB
-D_DLL_   -o ../unxsoli4.pro/slo/vcl_dflt_version.o
../unxsoli4.pro/misc/vcl_dflt_version.c

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to