<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/linux-atm/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/linux-atm/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 Jan 2023 06:57:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/linux-atm/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>BUILD FAIL: configure cannot guess build type</title><link>https://sourceforge.net/p/linux-atm/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is Jimmy from the ArchLinux RISC-V Team.&lt;/p&gt;
&lt;p&gt;The config.guess file contained in the source code is too old to build on the latest architecture, such as RISC-V.&lt;/p&gt;
&lt;p&gt;This can be fixed by generating new tarball by latest autotools.&lt;/p&gt;
&lt;p&gt;We propose a one-time fix for this via upstream, which benefits all downstream package maintainers.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Jimmy&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jimmy Tian</dc:creator><pubDate>Mon, 30 Jan 2023 06:57:42 -0000</pubDate><guid>https://sourceforge.net4bb4b4a511beb2563546a5d3ff886da51ac1c42a</guid></item><item><title>asn_bits.c:348: bad compare ?</title><link>https://sourceforge.net/p/linux-atm/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;asn_bits.c:348:64: warning: self-comparison always evaluates to true &lt;span&gt;[-Wtautological-compare]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Source code is&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bitLen&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nv"&gt;b2&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bitLen&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
         &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;memcmp&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;, &lt;span class="nv"&gt;b2&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;, &lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
         &lt;span class="ss"&gt;((&lt;/span&gt; &lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;[&lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;] &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="nv"&gt;xFF&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class="nv"&gt;octetBits&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt;
          &lt;span class="ss"&gt;(&lt;/span&gt; &lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;[&lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;] &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="nv"&gt;xFF&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class="nv"&gt;octetBits&lt;/span&gt;&lt;span class="ss"&gt;))))&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Maybe better code:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bitLen&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="nv"&gt;b2&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bitLen&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
         &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;memcmp&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;, &lt;span class="nv"&gt;b2&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;, &lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
         &lt;span class="ss"&gt;((&lt;/span&gt; &lt;span class="nv"&gt;b1&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;[&lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;] &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="nv"&gt;xFF&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class="nv"&gt;octetBits&lt;/span&gt;&lt;span class="ss"&gt;))&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt;
          &lt;span class="ss"&gt;(&lt;/span&gt; &lt;span class="nv"&gt;b2&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;bits&lt;/span&gt;[&lt;span class="nv"&gt;octetsLessOne&lt;/span&gt;] &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="nv"&gt;xFF&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class="nv"&gt;octetBits&lt;/span&gt;&lt;span class="ss"&gt;))))&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dcb</dc:creator><pubDate>Thu, 09 Jul 2020 13:06:03 -0000</pubDate><guid>https://sourceforge.netd9764e8dff99fcd0957ea6f0d5b9331743e85b12</guid></item><item><title>#24 bad macro defn CHECK() in sapequal.c </title><link>https://sourceforge.net/p/linux-atm/bugs/24/?limit=25#e3d0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Some of are still here. I will look into fixing this. Thanks for the bug report!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chas williams</dc:creator><pubDate>Wed, 24 Apr 2019 16:17:36 -0000</pubDate><guid>https://sourceforge.neta608b6395afd76fd2e8f029ba2fb33754bb84e9b</guid></item><item><title>#24 bad macro defn CHECK() in sapequal.c </title><link>https://sourceforge.net/p/linux-atm/bugs/24/?limit=25#fc19</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Obviously, the fix is&lt;br/&gt;
    if (!(CONSTRAINT)) return 0;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Briggs</dc:creator><pubDate>Tue, 23 Apr 2019 23:18:36 -0000</pubDate><guid>https://sourceforge.net9f00b6b0f17d99e5b3035123bc1ac597972b7cf5</guid></item><item><title>bad macro defn CHECK() in sapequal.c </title><link>https://sourceforge.net/p/linux-atm/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Seems pretty dead around here... but just in case:  Compiling OpenWRT, which included linux-atm-2.5.2, generated the following warning -- a result of missing parentheses in the macro definition for CHECK:&lt;/p&gt;
&lt;p&gt;sapequal.c: In function 'match_blli':&lt;br/&gt;
sapequal.c:65:42: warning: logical not is only applied to the left hand side of comparison &lt;span&gt;[-Wlogical-not-parentheses]&lt;/span&gt;&lt;br/&gt;
      CHECK(l2.itu.window,a.l2.itu.window &amp;gt; b.l2.itu.window);&lt;br/&gt;
                                          ^&lt;br/&gt;
sapequal.c:46:10: note: in definition of macro 'CHECK'&lt;br/&gt;
     if (!CONSTRAINT) return 0; \
          ^~~~~~~~~~&lt;br/&gt;
sapequal.c:46:9: note: add parentheses around left hand side expression to silence this warning&lt;br/&gt;
     if (!CONSTRAINT) return 0; \
         ^~~~~~~~~~~~~~~~~~~~~~~~&lt;br/&gt;
     if (res) res-&amp;gt;FIELD = a.FIELD &amp;lt; b.FIELD ? a.FIELD : b.FIELD; \
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br/&gt;
   }&lt;br/&gt;
   ~      &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Briggs</dc:creator><pubDate>Tue, 23 Apr 2019 20:11:25 -0000</pubDate><guid>https://sourceforge.net09f21e8848a045286450a2fd99f684d4d583d8bb</guid></item><item><title>#23 linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?</title><link>https://sourceforge.net/p/linux-atm/bugs/23/?limit=25#d056</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chas williams</dc:creator><pubDate>Fri, 25 Oct 2013 11:30:07 -0000</pubDate><guid>https://sourceforge.netfc38bb6ac10a0f05978fb3dc0628c43bd217a4a3</guid></item><item><title>#23 linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?</title><link>https://sourceforge.net/p/linux-atm/bugs/23/?limit=25#8db3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;That does appear to be the correct fix.  I will merge it and produce a new release (eventually).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">chas williams</dc:creator><pubDate>Fri, 25 Oct 2013 11:23:06 -0000</pubDate><guid>https://sourceforge.net88fbc6bd65cc49b2c8fd07f95fd17f2d47c36f46</guid></item><item><title>linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?</title><link>https://sourceforge.net/p/linux-atm/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just compiled linux-atm-2.5.1 with extra compiler flag -Wlogical-op&lt;/p&gt;
&lt;p&gt;It said&lt;/p&gt;
&lt;p&gt;ldb.c:89:3: warning: logical 'or' of collectively exhaustive tests is always true &lt;span&gt;[-Wlogical-op]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Source code is&lt;/p&gt;
&lt;p&gt;return ((test &amp;gt;= '0' &amp;amp;&amp;amp; test &amp;lt;= '9') || (test &amp;gt;= 'a' || test &amp;lt;= 'f') ||&lt;br /&gt;
       (test &amp;gt;= 'A' &amp;amp;&amp;amp; test &amp;lt;= 'F') || test == 'x' || test == 'X');&lt;/p&gt;
&lt;p&gt;This bit looks wrong&lt;/p&gt;
&lt;p&gt;(test &amp;gt;= 'a' || test &amp;lt;= 'f')&lt;/p&gt;
&lt;p&gt;Suggest swap || for &amp;amp;&amp;amp;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dcb</dc:creator><pubDate>Wed, 23 Oct 2013 20:09:50 -0000</pubDate><guid>https://sourceforge.neteb9123e19f01010b3c9495b529b288b1a6f10a11</guid></item><item><title>linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?</title><link>https://sourceforge.net/p/linux-atm/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 23 has been modified: linux-atm-2.5.1/src/lane/ldb.c:89: possible bad if test ?&lt;br /&gt;
Edited By: chas williams (chas3)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dcb</dc:creator><pubDate>Wed, 23 Oct 2013 20:09:50 -0000</pubDate><guid>https://sourceforge.netf1414a9f29d4351de0bec3bcbefd56eefd2b5d59</guid></item><item><title>When cross-compiling, can't pass in separate target CFLAGS</title><link>https://sourceforge.net/p/linux-atm/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Like many projects, linux-atm has a complex build process which contains both binaries for the target install and intermediate binaries which get run during the build to generate transient data which gets preprocessed (e.g. src/qgen).&lt;/p&gt;
&lt;p&gt;Unfortunately, there is no way to designate one set of CFLAGS to the host compiler (CC_FOR_BUILD) and another set of CFLAGS to the target compiler (CC/TARGET_CC).&lt;/p&gt;
&lt;p&gt;Further, the compiler $(CC) is used interchangeably in different directories to mean the target compiler in most places, and the host compiler in src/qgen.  This is confusing to say the least for package/distro maintainers.&lt;/p&gt;
&lt;p&gt;CC should *always* imply the target compiler, and $(CC_FOR_BUILD) should only be used when generating binaries to run on the build host itself.&lt;/p&gt;
&lt;p&gt;Similarly, consistent naming for target and host CFLAGS need to be employed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philip Prindeville</dc:creator><pubDate>Fri, 31 Jul 2009 05:39:22 -0000</pubDate><guid>https://sourceforge.netcf1e1483bafd38e1e5a1f95cc27635efcfa79411</guid></item></channel></rss>