I do nothing special with gcc (yet), just build it locallay to have a
controlled version. I CM control the cfg and scripts to build it. In doing so I
want the build to reflect the version and hence I use the --with-pkgversion
option during configure.

The problem is that my identifier is an URI which most of the time is fine,
however sometimes this URI may use fragments.

E.g. it might look like this:
  eccm://xyz/iv.gcc/main/1.2.3
which is fine, but it might look like this:
  eccm://xyz/iv.gcc/main/1.2.x/42#keol/m...@40

In the last form, both the hashmark and the 'at' sign causes problems
downstream, not too surprisingly. I've toyed with various ways of quoting those
characters in order to protect them, but I haven't hit upon a workable method,
so I'm supposing that it would need protection in places it is used/passed
downstream but I must admit to being a bit intimidated by trying to find/fix
this...

At present for me, this is minor. However, at a guess this would also affect
--with-bugurl, since an URL pointing to a fragment wouldn't be completely
impossible.


-- 
           Summary: (configure) Using certain chars in --with-pkgversion
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kenneth at olwing dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44983

Reply via email to