Bug 701295 - /usr/bin/dtrace should obey $CC
Summary: /usr/bin/dtrace should obey $CC
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stan Cox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 13:46 UTC by Dan Winship
Modified: 2012-02-03 19:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-03 19:14:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dan Winship 2011-05-02 13:46:29 UTC
Compiling glib currently gives warnings like:

*** Warning: Linking the shared library libglib-2.0.la against the non-libtool
*** objects  glib_probes.o is not portable!

An easy way to fix this without noticeably breaking solaris command-line compatibility would be to have dtrace use $CC instead of 'gcc' to compile the temp file. Then we could do something like:

    CC="libtool --mode=compile gcc" dtrace -s -G ...

This could also be used to fix bug 663289.

Comment 1 Stan Cox 2011-05-05 17:54:16 UTC
commit: b1568fd85e Dtrace script should honor $CPP, $CC, $CFLAGS

Comment 3 Frank Ch. Eigler 2012-02-03 19:14:06 UTC
stap 1.6 and 1.7 should have this fix.


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