<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>57602</bug_id>
          
          <creation_ts>2011-03-31 19:48:07 -0700</creation_ts>
          <short_desc>[Qt] DumpRenderTree breaks compilation in some uClibc environments</short_desc>
          <delta_ts>2011-04-04 10:30:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P5</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Keith Kyzivat">kamaji</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>kamaji</cc>
    
    <cc>kling</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>ossy</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>377608</commentid>
    <comment_count>0</comment_count>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-03-31 19:48:07 -0700</bug_when>
    <thetext>When using uClibc, depending on how it was compiled, it can pretend to be glibc, by defining __GLIBC__.

DumpRenderTree uses __GLIBC__ guards around a backtrace debugging helper that is defined in glibc, but not defined in uClibc.

kit/Tools/DumpRenderTree/qt -I. -o obj/release/main.o ../../../../webkit/Tools/DumpRenderTree/qt/main.cpp
../../../../webkit/Tools/DumpRenderTree/qt/main.cpp:59:22: error: execinfo.h: No such file or directory
../../../../webkit/Tools/DumpRenderTree/qt/main.cpp: In function &apos;QString get_backtrace()&apos;:
../../../../webkit/Tools/DumpRenderTree/qt/main.cpp:79: error: &apos;backtrace&apos; was not declared in this scope
../../../../webkit/Tools/DumpRenderTree/qt/main.cpp:84: error: &apos;backtrace_symbols&apos; was not declared in this scope
make: *** [obj/release/main.o] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377613</commentid>
    <comment_count>1</comment_count>
      <attachid>87820</attachid>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-03-31 19:53:21 -0700</bug_when>
    <thetext>Created attachment 87820
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377615</commentid>
    <comment_count>2</comment_count>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-03-31 19:54:00 -0700</bug_when>
    <thetext>add myself to CC</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377679</commentid>
    <comment_count>3</comment_count>
      <attachid>87820</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2011-04-01 01:41:16 -0700</bug_when>
    <thetext>Comment on attachment 87820
Patch

r=me. Please fix the typo in the title (uClbc) before committing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377816</commentid>
    <comment_count>4</comment_count>
      <attachid>87820</attachid>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-04-01 08:42:27 -0700</bug_when>
    <thetext>Comment on attachment 87820
Patch

Title fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377817</commentid>
    <comment_count>5</comment_count>
      <attachid>87820</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-01 08:42:41 -0700</bug_when>
    <thetext>Comment on attachment 87820
Patch

Rejecting attachment 87820 from commit-queue.

keith.kyzivat@nokia.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377845</commentid>
    <comment_count>6</comment_count>
      <attachid>87820</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-04-01 09:15:23 -0700</bug_when>
    <thetext>Comment on attachment 87820
Patch

WTF</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377846</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-04-01 09:15:59 -0700</bug_when>
    <thetext>Why would you cq+ this? The title has not been fixed in the patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377940</commentid>
    <comment_count>8</comment_count>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-04-01 11:27:46 -0700</bug_when>
    <thetext>Doh, my fault -- I didn&apos;t realize (or closely check) that the typo was in the commit message...  Fixing shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>377944</commentid>
    <comment_count>9</comment_count>
      <attachid>87887</attachid>
    <who name="Keith Kyzivat">kamaji</who>
    <bug_when>2011-04-01 11:38:04 -0700</bug_when>
    <thetext>Created attachment 87887
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378865</commentid>
    <comment_count>10</comment_count>
      <attachid>87887</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-04 10:30:14 -0700</bug_when>
    <thetext>Comment on attachment 87887
Patch

Clearing flags on attachment: 87887

Committed r82844: &lt;http://trac.webkit.org/changeset/82844&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378866</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-04-04 10:30:20 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87820</attachid>
            <date>2011-03-31 19:53:21 -0700</date>
            <delta_ts>2011-04-01 11:38:00 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-57602-20110331225428.patch</filename>
            <type>text/plain</type>
            <size>1257</size>
            <attacher name="Keith Kyzivat">kamaji</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODI0NTcKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCAzN2Y4YjhiYzM4ZTE4NzU3ZDBkYzgwMTA0MDVlODJkN2U4
NGI3M2EyLi5iMmQwNjI5MjY3OTA1MDNlNDM5MDM5MDViZGRkYTgyOWMwMmEyNjNiIDEwMDY0NAot
LS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTEtMDMtMzEgIEtlaXRoIEt5eml2YXQgIDxrZWl0aC5reXppdmF0QG5va2lhLmNvbT4K
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBbUXRdIER1
bXBSZW5kZXJUcmVlIGJyZWFrcyBjb21waWxhdGlvbiBpbiBzb21lIHVDbGJjIGVudmlyb25tZW50
cworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NTc2MDIK
KworICAgICAgICAqIER1bXBSZW5kZXJUcmVlL3F0L21haW4uY3BwOgorICAgICAgICAoZ2V0X2Jh
Y2t0cmFjZSk6CisKIDIwMTEtMDMtMzAgIFl1dGEgS2l0YW11cmEgIDx5dXRha0BjaHJvbWl1bS5v
cmc+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgS2VudCBUYW11cmEuCmRpZmYgLS1naXQgYS9Ub29s
cy9EdW1wUmVuZGVyVHJlZS9xdC9tYWluLmNwcCBiL1Rvb2xzL0R1bXBSZW5kZXJUcmVlL3F0L21h
aW4uY3BwCmluZGV4IGJjNzYyZTU5YWZlOGMwOWU0ZWYwNDMxNzZjZTRiODYzY2RmYWI3YzYuLjg5
YTUxMjgzMzY0YzJjZGQ0MDhmNmM1YzVmYzJiZTI3NDJhOThkN2IgMTAwNjQ0Ci0tLSBhL1Rvb2xz
L0R1bXBSZW5kZXJUcmVlL3F0L21haW4uY3BwCisrKyBiL1Rvb2xzL0R1bXBSZW5kZXJUcmVlL3F0
L21haW4uY3BwCkBAIC01NCw3ICs1NCw3IEBACiAjaW5jbHVkZSA8bGltaXRzLmg+CiAjaW5jbHVk
ZSA8c2lnbmFsLmg+CiAKLSNpZiBkZWZpbmVkKF9fR0xJQkNfXykKKyNpZiBkZWZpbmVkKF9fR0xJ
QkNfXykgJiYgIWRlZmluZWQoX19VQ0xJQkNfXykKICNpbmNsdWRlIDxleGVjaW5mby5oPgogI2Vu
ZGlmCiAKQEAgLTk3LDcgKzk3LDcgQEAgdm9pZCBwcmludFVzYWdlKCkKIFFTdHJpbmcgZ2V0X2Jh
Y2t0cmFjZSgpIHsKICAgICBRU3RyaW5nIHM7CiAKLSNpZiBkZWZpbmVkKF9fR0xJQkNfXykKKyNp
ZiBkZWZpbmVkKF9fR0xJQkNfXykgJiYgIWRlZmluZWQoX19VQ0xJQkNfXykKICAgICB2b2lkKiBh
cnJheVsyNTZdOwogICAgIHNpemVfdCBzaXplOyAvKiBudW1iZXIgb2Ygc3RhY2sgZnJhbWVzICov
CiAK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87887</attachid>
            <date>2011-04-01 11:38:04 -0700</date>
            <delta_ts>2011-04-04 10:30:14 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-57602-20110401143924.patch</filename>
            <type>text/plain</type>
            <size>1258</size>
            <attacher name="Keith Kyzivat">kamaji</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODI0NTcKZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBi
L1Rvb2xzL0NoYW5nZUxvZwppbmRleCAzN2Y4YjhiYzM4ZTE4NzU3ZDBkYzgwMTA0MDVlODJkN2U4
NGI3M2EyLi4xMjk4ODAyN2VlMThlNmFkNjhhZWZjZWY5MjIzMjliN2FlOWMzMmFjIDEwMDY0NAot
LS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTEtMDMtMzEgIEtlaXRoIEt5eml2YXQgIDxrZWl0aC5reXppdmF0QG5va2lhLmNvbT4K
KworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBbUXRdIER1
bXBSZW5kZXJUcmVlIGJyZWFrcyBjb21waWxhdGlvbiBpbiBzb21lIHVDbGliYyBlbnZpcm9ubWVu
dHMKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTU3NjAy
CisKKyAgICAgICAgKiBEdW1wUmVuZGVyVHJlZS9xdC9tYWluLmNwcDoKKyAgICAgICAgKGdldF9i
YWNrdHJhY2UpOgorCiAyMDExLTAzLTMwICBZdXRhIEtpdGFtdXJhICA8eXV0YWtAY2hyb21pdW0u
b3JnPgogCiAgICAgICAgIFJldmlld2VkIGJ5IEtlbnQgVGFtdXJhLgpkaWZmIC0tZ2l0IGEvVG9v
bHMvRHVtcFJlbmRlclRyZWUvcXQvbWFpbi5jcHAgYi9Ub29scy9EdW1wUmVuZGVyVHJlZS9xdC9t
YWluLmNwcAppbmRleCBiYzc2MmU1OWFmZThjMDllNGVmMDQzMTc2Y2U0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