Bug 148948 - [patch] sysutils/freecolor: mark as only for i386, respect STRIP
Summary: [patch] sysutils/freecolor: mark as only for i386, respect STRIP
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tim Bishop
Depends on:
Reported: 2010-07-26 06:50 UTC by swell.k
Modified: 2010-07-26 16:40 UTC (History)
0 users

See Also:

a.diff (1.79 KB, patch)
2010-07-26 06:50 UTC, swell.k
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description swell.k 2010-07-26 06:50:01 UTC
Doesn't work on amd64. But works if compiled with `-m32' in CFLAGS.

  (gdb) r
  Starting program: /usr/pkg/bin/freecolor
  During symbol reading, DW_AT_name missing from DW_TAG_base_type.
  During symbol reading, cannot get low and high bounds for subprogram DIE at 11006.

  Program received signal SIGBUS, Bus error.
  memset () at /usr/src/lib/libc/amd64/string/memset.S:51
  51              rep
  (gdb) bt f
  #0  memset () at /usr/src/lib/libc/amd64/string/memset.S:51
  No locals.
  During symbol reading, debug info gives in-file macro definition with zero line 0: __STDC__ 1.
  #1  0x000000000040104a in bargraph (argc=<value optimized out>, argv=<value optimized out>) at freecolor.c:80
          remain =
  During symbol reading, incomplete CFI data; unspecified registers (e.g., rax) at 0x400c30.
  <error reading variable>
          numofmarkstwo = <value optimized out>
          percentone = <error reading variable>
          percenttwo = <error reading variable>
          numberofmarks = <value optimized out>
          remainnum = 4293812526
  #2  main (argc=<value optimized out>, argv=<value optimized out>) at freecolor.c:201
          percentram = <value optimized out>
          percentswap = <value optimized out>
          percentbuffer = <value optimized out>
          ramfree = <value optimized out>
          ramtotal = <value optimized out>
          swapfree = <value optimized out>
          swaptotal = <value optimized out>
          doloop = 0
          cachedbuffer = 1.40737505e+14
          totaltotal = 8.56155341e+09
          realbarchart = <error reading variable>
          swapbarchart = <error reading variable>
          totalbarchart = <error reading variable>
          i = <value optimized out>
          dototals = 0
          doold = 0
          linestoup = 2
          meminfo_cached = <value optimized out>
          divisor = 1024
          mem_stats = <value optimized out>
          swap_stats = <value optimized out>
Comment 1 Edwin Groothuis freebsd_committer 2010-07-26 06:50:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tdb

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-07-26 16:38:46 UTC
tdb         2010-07-26 15:38:37 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/freecolor   Makefile 
    sysutils/freecolor/files patch-Makefile.in 
  - Use INSTALL_PROGRAM to respect STRIP.
  - Mark BROKEN on non-i386 architectures.
  PR:             ports/148948
  Submitted by:   swell.k@gmail.com
  Revision  Changes    Path
  1.13      +13 -1     ports/sysutils/freecolor/Makefile
  1.3       +15 -5     ports/sysutils/freecolor/files/patch-Makefile.in
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Tim Bishop freebsd_committer 2010-07-26 16:40:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!